Package org.codehaus.commons.compiler.jdk
An implementation of the
org.codehaus.commons.compiler API that uses the "JAVAC" Java compiler that is
part of the "Java Development Kit" (JDK).-
Class Summary Class Description ClassBodyEvaluator To set up aClassBodyEvaluatorobject, proceed as described forIClassBodyEvaluator.Compiler javax.tools-based implementation of theICompiler.CompilerFactory TheCompilerFactoryimplementation fororg.codehaus.commons.compiler.jdk.ExpressionEvaluator ThisIExpressionEvaluatoris implemented by creating and compiling a temporary compilation unit defining one class with one static method with one RETURN statement.JavaSourceClassLoader AClassLoaderthat loads classes by looking for their source files through a "source path" and compiling them on-the-fly.ScriptEvaluator To set up aScriptEvaluatorobject, proceed as described forIScriptEvaluator.SimpleCompiler javax.tools-based implementation ofISimpleCompiler. -
Exception Summary Exception Description JavaSourceClassLoader.DiagnosticException Container for aDiagnosticobject.