class-finder

A utility to find classes, designed for use at the REPL

License

License

GroupId

GroupId

com.offbytwo.class-finder
ArtifactId

ArtifactId

class-finder
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

clojure
Description

Description

class-finder
A utility to find classes, designed for use at the REPL
Project URL

Project URL

http://github.com/cosmin/class-finder/
Source Code Management

Source Code Management

https://github.com/cosmin/class-finder

Download class-finder

Dependencies

compile (2)

Group / Artifact Type Version
org.clojure : clojure jar 1.3.0
log4j : log4j jar 1.2.16

test (1)

Group / Artifact Type Version
junit : junit jar 4.8.1

Project Modules

There are no modules declared in this project.

class-finder

A utility to find classes, designed for use at the REPL

Motivation

When writing code in an IDE I can simply let the IDE figure out which package it needs to import the class from. I miss that experience when writing code at the REPL. class-finder is the solution.

Usage

Leiningen

:dependencies [[com.offbytwo.class-finder/class-finder "1.0.0"]]

Maven

<dependency>
  <groupId>org.offbytwo.class-finder</groupId>
  <artifactId>class-finder</groupId>
  <version>1.0.0</version>
</dependency>

Require class-finder

(require '[class-finder.core :as cf])

Find all classes called Pattern

(cf/find-classes "Pattern")

Find all classes that match a pattern

(cf/find-classes "*List")

Restrict search to a specific package

(cf/find-classes "*List" "java.util")

License

Copyright (C) 2012 Cosmin Stejerean

Distributed under the Eclipse Public License, the same as Clojure.

Versions

Version
1.0.0