Package org.codehaus.commons.compiler.jdk
Main package of the plugin.
-
Class Summary Class Description ByteArrayJavaFileManager<M extends javax.tools.JavaFileManager> AForwardingJavaFileManager
that storesJavaFileObject
s in byte arrays, i.e.ByteArrayJavaFileManager.ByteArrayJavaFileObject Byte array-based implementation ofJavaFileObject
.ClassBodyEvaluator To set up aClassBodyEvaluator
object, proceed as described forIClassBodyEvaluator
.CompilerFactory TheCompilerFactory
implementation fororg.codehaus.commons.compiler.jdk
.ExpressionEvaluator ThisIExpressionEvaluator
is implemented by creating and compiling a temporary compilation unit defining one class with one static method with one RETURN statement.FileInputJavaFileManager AForwardingJavaFileManager
that maps accesses to a particularJavaFileManager.Location
andJavaFileObject.Kind
to a path-based search in the file system.JavaFileManagerClassLoader AClassLoader
that loads classes through aJavaFileManager
.JavaSourceClassLoader AClassLoader
that loads classes by looking for their source files through a 'source path' and compiling them on-the-fly.ScriptEvaluator To set up aScriptEvaluator
object, proceed as described forIScriptEvaluator
.SimpleCompiler The JDK-based implementation ofISimpleCompiler
. -
Exception Summary Exception Description JavaSourceClassLoader.DiagnosticException