|
Web Site | ||||||||
| PREV LETTER NEXT LETTER | FRAMES NO FRAMES | ||||||||
JavaSourceClassLoader that uses a
resource storage provided by the application to cache compiled
classes and thus saving unnecessary recompilations.CachingJavaSourceClassLoader.CachingJavaSourceClassLoader(ClassLoader, ResourceFinder, String, ResourceFinder, ResourceCreator, EnumeratorSet).
classFileCacheResourceCreator stores its data atomically,
i.e.
Classes into an array ofJava.Types.
InputStream and construct a
ClassFile object from it.
ClassFile object into a
IClass.IClassLoader that loads IClasses through a reflection
ClassLoader.Class in a Java.Type object.
CodeContext.Offsets
as "fix-ups": During the execution of
CodeContext.fixUp(), all "fix-ups" are invoked and
can do last touches to the code attribute.Compiler.compile(File[]).
Compiler.FIND_NEXT_TO_SOURCE_FILE as the classFileResourceFinder and
Compiler.CREATE_NEXT_TO_SOURCE_FILE as the classFileResourceCreator.
ClassFile objects which represent the classes and
interfaces defined in the compilation unit.
InputStream, encoded in the "platform default encoding".
InputStream, encoded in the "platform default encoding".
String.
ScriptEvaluator.cook(Scanner), but cooks a set of scripts into one class.
Strings.
Scanner and turning them into some artifact.File, encoded in the "platform default encoding".
Scanner.
Scanner with no default imports.
interfaceToImplement.
String
expression, generating a class with the ClassBodyEvaluator.DEFAULT_CLASS_NAME that
extends Object.
Scanner with no default
imports.
ScriptEvaluator.createFastScriptEvaluator(Scanner, Class, String[], ClassLoader).
ScriptEvaluator.createFastScriptEvaluator(Scanner, Class, String[], ClassLoader),
but gives you more control over the generated class (rarely needed in practice).
|
Web Site | ||||||||
| PREV LETTER NEXT LETTER | FRAMES NO FRAMES | ||||||||