Liking cljdoc? Tell your friends :D

lucid.core.java


java-sourcesclj

(java-sources {dirs :java-source-paths})

lists source classes in a project

(-> (java-sources (project/project)) (keys) (sort)) => '[test.Cat test.Dog test.DogBuilder test.Person test.PersonBuilder test.Pet]

lists source classes in a project

(-> (java-sources (project/project))
    (keys)
    (sort))
=> '[test.Cat test.Dog test.DogBuilder
     test.Person test.PersonBuilder test.Pet]
raw docstring

javacclj

(javac & classes)

compiles classes using the built-in compiler

(javac 'test.Cat 'test.Dog) ;;=> outputs .class files in target directory

compiles classes using the built-in compiler

(javac 'test.Cat 'test.Dog)
;;=> outputs `.class` files in target directory
raw docstring

javac-outputclj

(javac-output collector)

Shows output of compilation

Shows output of compilation
raw docstring

path->classclj

(path->class path)

Creates a class symbol from a file

(path->class "test/Dog.java") => 'test.Dog

(path->class "test/Cat.class") => 'test.Cat

Creates a class symbol from a file

(path->class "test/Dog.java")
=> 'test.Dog

(path->class "test/Cat.class")
=> 'test.Cat
raw docstring

reimportclj

(reimport & classes)

compiles and reimports java source code dynamically

(reimport 'test.Cat 'test.Dog) ;;=> (test.Cat test.Dog)

compiles and reimports java source code dynamically

(reimport 'test.Cat 'test.Dog)
;;=> (test.Cat test.Dog)
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close