Package org.codehaus.commons.compiler.jdk
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).-
ClassDescriptionTo set up a
ClassBodyEvaluatorobject, proceed as described forIClassBodyEvaluator.javax.tools-based implementation of theICompiler.TheCompilerFactoryimplementation fororg.codehaus.commons.compiler.jdk.ThisIExpressionEvaluatoris implemented by creating and compiling a temporary compilation unit defining one class with one static method with one RETURN statement.AClassLoaderthat loads classes by looking for their source files through a "source path" and compiling them on-the-fly.Container for aDiagnosticobject.To set up aScriptEvaluatorobject, proceed as described forIScriptEvaluator.javax.tools-based implementation ofISimpleCompiler.