Package | Description |
---|---|
org.codehaus.commons.compiler |
This package declares interfaces for the implementation of an
IExpressionEvaluator , an IScriptEvaluator , an
IClassBodyEvaluator and an ISimpleCompiler . |
org.codehaus.commons.compiler.jdk |
Main package of the plugin.
|
org.codehaus.janino |
The classes in this package pose the core of the Janino JavaTM compiler.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
IClassBodyEvaluator |
Parses a class body and returns it as a
Class object ready for use with
java.lang.reflect. |
interface |
IExpressionEvaluator |
An engine that evaluates expressions in Java™ bytecode.
|
interface |
IScriptEvaluator |
An engine that executes a script in Java™ bytecode.
|
interface |
ISimpleCompiler |
A simplified Java™ compiler that can compile only a single compilation unit.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Cookable |
Base class for a simple
ICookable . |
Modifier and Type | Class | Description |
---|---|---|
class |
ClassBodyEvaluator |
To set up a
ClassBodyEvaluator object, proceed as described for IClassBodyEvaluator . |
class |
ExpressionEvaluator |
This
IExpressionEvaluator is implemented by creating and compiling a temporary compilation unit defining one
class with one static method with one RETURN statement. |
class |
ScriptEvaluator |
To set up a
ScriptEvaluator object, proceed as described for IScriptEvaluator . |
class |
SimpleCompiler |
The JDK-based implementation of
ISimpleCompiler . |
Modifier and Type | Class | Description |
---|---|---|
class |
ClassBodyEvaluator |
The
optionalClassLoader serves two purposes:
It is used to look for classes referenced by the class body. |
class |
ExpressionEvaluator |
This
IExpressionEvaluator is implemented by creating and compiling a temporary
compilation unit defining one class with one static method with one RETURN statement. |
class |
ScriptEvaluator |
A number of "convenience constructors" exist that execute the setup steps instantly.
|
class |
SimpleCompiler |
To set up a
SimpleCompiler object, proceed as described for ISimpleCompiler . |
Copyright © 2001–2019. All rights reserved.