-
Notifications
You must be signed in to change notification settings - Fork 6
CompilerProcessor
fge edited this page Feb 26, 2013
·
5 revisions
- Input: a
ValueHolder<String>
- Output: a
CompilerOutput
As its name implies, it generates a compiled Java class out of a string, which contains the source file.
It autodetects the package name and class name, compiles it, and returns a result consisting of the class itself and the output directory.
Right now the output directory is a temporary directory. As the processor itself cannot delete it, this job is left to the caller.
None -- self contained.
Note: obviously enough, you need to have the full JDK installed for this processor to work at all, a JRE will not be enough.