janino.net
A B C D E F G H I J L M N O P Q R S T U V W Z

C

CachingJavaSourceClassLoader - Class in org.codehaus.janino
A JavaSourceClassLoader that uses a resource storage provided by the application to cache compiled classes and thus saving unnecessary recompilations.
CachingJavaSourceClassLoader(ClassLoader, File[], String, File, EnumeratorSet) - Constructor for class org.codehaus.janino.CachingJavaSourceClassLoader
See CachingJavaSourceClassLoader.CachingJavaSourceClassLoader(ClassLoader, ResourceFinder, String, ResourceFinder, ResourceCreator, EnumeratorSet).
CachingJavaSourceClassLoader(ClassLoader, ResourceFinder, String, ResourceFinder, ResourceCreator, EnumeratorSet) - Constructor for class org.codehaus.janino.CachingJavaSourceClassLoader
Notice that this class is thread-safe if and only if the classFileCacheResourceCreator stores its data atomically, i.e.
caseLabels - Variable in class org.codehaus.janino.Java.SwitchStatement.SwitchBlockStatementGroup
 
catchClauses - Variable in class org.codehaus.janino.Java.TryStatement
 
caughtException - Variable in class org.codehaus.janino.Java.CatchClause
 
CausedException - Exception in org.codehaus.janino.util
For compatibility with pre-1.4 JDKs, this class mimics
CausedException() - Constructor for exception org.codehaus.janino.util.CausedException
 
CausedException(String) - Constructor for exception org.codehaus.janino.util.CausedException
 
CausedException(String, Throwable) - Constructor for exception org.codehaus.janino.util.CausedException
 
CausedException(Throwable) - Constructor for exception org.codehaus.janino.util.CausedException
 
changeAccess(short, short) - Static method in class org.codehaus.janino.Mod
 
CHAR - Static variable in class org.codehaus.janino.IClass
 
CHAR - Static variable in class org.codehaus.janino.Java.BasicType
 
CHAR_ - Static variable in class org.codehaus.janino.Descriptor
 
CHARACTER - Static variable in class org.codehaus.janino.Descriptor
 
CHARACTER - Variable in class org.codehaus.janino.IClassLoader
 
CLASS - Static variable in class org.codehaus.janino.Descriptor
 
CLASS - Variable in class org.codehaus.janino.IClassLoader
 
ClassBodyDemo - Class in org.codehaus.janino.samples
 
ClassBodyEvaluator - Class in org.codehaus.janino
Parses a class body and returns it as a java.lang.Class object ready for use with java.lang.reflect.
ClassBodyEvaluator(String) - Constructor for class org.codehaus.janino.ClassBodyEvaluator
Equivalent to
ClassBodyEvaluator(String, InputStream) - Constructor for class org.codehaus.janino.ClassBodyEvaluator
Equivalent to
ClassBodyEvaluator(String, Reader) - Constructor for class org.codehaus.janino.ClassBodyEvaluator
Equivalent to
ClassBodyEvaluator(Scanner, ClassLoader) - Constructor for class org.codehaus.janino.ClassBodyEvaluator
Equivalent to
ClassBodyEvaluator(Scanner, Class, Class[], ClassLoader) - Constructor for class org.codehaus.janino.ClassBodyEvaluator
Equivalent to
ClassBodyEvaluator(Scanner, String, Class, Class[], ClassLoader) - Constructor for class org.codehaus.janino.ClassBodyEvaluator
Equivalent to
ClassBodyEvaluator() - Constructor for class org.codehaus.janino.ClassBodyEvaluator
 
classesToTypes(Location, Class[]) - Method in class org.codehaus.janino.SimpleCompiler
Convert an array of Classes into an array ofJava.Types.
ClassFile - Class in org.codehaus.janino.util
An object that represents the JavaTM "class file" format.
ClassFile(short, String, String, String[]) - Constructor for class org.codehaus.janino.util.ClassFile
Construct from parsed components.
ClassFile(InputStream) - Constructor for class org.codehaus.janino.util.ClassFile
Read "class file" data from a InputStream and construct a ClassFile object from it.
ClassFile.AttributeInfo - Class in org.codehaus.janino.util
Representation of a class file attribute (see JVMS 4.7).
ClassFile.AttributeInfo(short) - Constructor for class org.codehaus.janino.util.ClassFile.AttributeInfo
 
ClassFile.ConstantClassInfo - Class in org.codehaus.janino.util
 
ClassFile.ConstantClassInfo(short) - Constructor for class org.codehaus.janino.util.ClassFile.ConstantClassInfo
 
ClassFile.ConstantFieldrefInfo - Class in org.codehaus.janino.util
 
ClassFile.ConstantFieldrefInfo(short, short) - Constructor for class org.codehaus.janino.util.ClassFile.ConstantFieldrefInfo
 
ClassFile.ConstantInterfaceMethodrefInfo - Class in org.codehaus.janino.util
 
ClassFile.ConstantInterfaceMethodrefInfo(short, short) - Constructor for class org.codehaus.janino.util.ClassFile.ConstantInterfaceMethodrefInfo
 
ClassFile.ConstantMethodrefInfo - Class in org.codehaus.janino.util
 
ClassFile.ConstantMethodrefInfo(short, short) - Constructor for class org.codehaus.janino.util.ClassFile.ConstantMethodrefInfo
 
ClassFile.ConstantNameAndTypeInfo - Class in org.codehaus.janino.util
 
ClassFile.ConstantNameAndTypeInfo(short, short) - Constructor for class org.codehaus.janino.util.ClassFile.ConstantNameAndTypeInfo
 
ClassFile.ConstantPoolInfo - Class in org.codehaus.janino.util
 
ClassFile.ConstantPoolInfo() - Constructor for class org.codehaus.janino.util.ClassFile.ConstantPoolInfo
 
ClassFile.ConstantUtf8Info - Class in org.codehaus.janino.util
 
ClassFile.ConstantUtf8Info(String) - Constructor for class org.codehaus.janino.util.ClassFile.ConstantUtf8Info
 
ClassFile.ConstantValueAttribute - Class in org.codehaus.janino.util
Representation of a "ConstantValue" attribute (see JVMS 4.7.2).
ClassFile.ConstantValuePoolInfo - Class in org.codehaus.janino.util
 
ClassFile.ConstantValuePoolInfo() - Constructor for class org.codehaus.janino.util.ClassFile.ConstantValuePoolInfo
 
ClassFile.DeprecatedAttribute - Class in org.codehaus.janino.util
Representation of a "Deprecated" attribute (see JVMS 4.7.10).
ClassFile.DeprecatedAttribute(short) - Constructor for class org.codehaus.janino.util.ClassFile.DeprecatedAttribute
 
ClassFile.ExceptionsAttribute - Class in org.codehaus.janino.util
Representation of an "Exceptions" attribute (see JVMS 4.7.4).
ClassFile.ExceptionsAttribute(short, short[]) - Constructor for class org.codehaus.janino.util.ClassFile.ExceptionsAttribute
 
ClassFile.FieldInfo - Class in org.codehaus.janino.util
 
ClassFile.FieldInfo(short, short, short, List) - Constructor for class org.codehaus.janino.util.ClassFile.FieldInfo
 
ClassFile.InnerClassesAttribute - Class in org.codehaus.janino.util
Representation of an "InnerClasses" attribute (see JVMS 4.7.5).
ClassFile.InnerClassesAttribute.Entry - Class in org.codehaus.janino.util
 
ClassFile.InnerClassesAttribute.Entry(short, short, short, short) - Constructor for class org.codehaus.janino.util.ClassFile.InnerClassesAttribute.Entry
 
ClassFile.LineNumberTableAttribute - Class in org.codehaus.janino.util
Representation of a "LineNumberTable" attribute (see JVMS 4.7.8).
ClassFile.LineNumberTableAttribute(short, ClassFile.LineNumberTableAttribute.Entry[]) - Constructor for class org.codehaus.janino.util.ClassFile.LineNumberTableAttribute
 
ClassFile.LineNumberTableAttribute.Entry - Class in org.codehaus.janino.util
 
ClassFile.LineNumberTableAttribute.Entry(int, int) - Constructor for class org.codehaus.janino.util.ClassFile.LineNumberTableAttribute.Entry
 
ClassFile.LocalVariableTableAttribute - Class in org.codehaus.janino.util
Representation of a "LocalVariableTable" attribute (see JVMS 4.7.9).
ClassFile.LocalVariableTableAttribute(short, ClassFile.LocalVariableTableAttribute.Entry[]) - Constructor for class org.codehaus.janino.util.ClassFile.LocalVariableTableAttribute
 
ClassFile.LocalVariableTableAttribute.Entry - Class in org.codehaus.janino.util
 
ClassFile.LocalVariableTableAttribute.Entry(short, short, short, short, short) - Constructor for class org.codehaus.janino.util.ClassFile.LocalVariableTableAttribute.Entry
 
ClassFile.MethodInfo - Class in org.codehaus.janino.util
This class represents a "method_info" structure, as defined by the JVM specification.
ClassFile.MethodInfo(short, short, short, List) - Constructor for class org.codehaus.janino.util.ClassFile.MethodInfo
Initialize the "method_info" structure.
ClassFile.SourceFileAttribute - Class in org.codehaus.janino.util
Representation of a "SourceFile" attribute (see JVMS 4.7.7).
ClassFile.SourceFileAttribute(short, short) - Constructor for class org.codehaus.janino.util.ClassFile.SourceFileAttribute
 
ClassFile.SyntheticAttribute - Class in org.codehaus.janino.util
Representation of a "Synthetic" attribute (see JVMS 4.7.6).
ClassFileIClass - Class in org.codehaus.janino
A wrapper object that turns a ClassFile object into a IClass.
ClassFileIClass(ClassFile, IClassLoader) - Constructor for class org.codehaus.janino.ClassFileIClass
 
ClassLoaderIClassLoader - Class in org.codehaus.janino
An IClassLoader that loads IClasses through a reflection ClassLoader.
ClassLoaderIClassLoader(ClassLoader) - Constructor for class org.codehaus.janino.ClassLoaderIClassLoader
 
ClassLoaderIClassLoader() - Constructor for class org.codehaus.janino.ClassLoaderIClassLoader
Equivalent to
className - Variable in class org.codehaus.janino.ClassBodyEvaluator
 
classToType(Location, Class) - Method in class org.codehaus.janino.SimpleCompiler
Wrap a reflection Class in a Java.Type object.
clearIFieldCaches() - Method in class org.codehaus.janino.IClass
 
CLONEABLE - Static variable in class org.codehaus.janino.Descriptor
 
CLONEABLE - Variable in class org.codehaus.janino.IClassLoader
 
close() - Method in class org.codehaus.janino.Scanner
Deprecated.  
close() - Method in class org.codehaus.janino.util.TeeReader
 
CodeContext - Class in org.codehaus.janino
The context of the compilation of a function (constructor or method).
CodeContext(ClassFile) - Constructor for class org.codehaus.janino.CodeContext
Create an empty "Code" attribute.
CodeContext.FixUp - Interface in org.codehaus.janino
A throw-in interface that marks 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.
CodeContext.Inserter - Class in org.codehaus.janino
A class that implements an insertion point into a "Code" attribute.
CodeContext.Inserter() - Constructor for class org.codehaus.janino.CodeContext.Inserter
 
CodeContext.LineNumberOffset - Class in org.codehaus.janino
 
CodeContext.LineNumberOffset(int, int) - Constructor for class org.codehaus.janino.CodeContext.LineNumberOffset
 
CodeContext.Offset - Class in org.codehaus.janino
A class that represents an offset within a "Code" attribute.
CodeContext.Offset() - Constructor for class org.codehaus.janino.CodeContext.Offset
 
COMPILATION_UNIT - Static variable in class org.codehaus.janino.Parser.ClassDeclarationContext
 
COMPILATION_UNIT - Static variable in class org.codehaus.janino.Parser.InterfaceDeclarationContext
 
compilationUnit - Variable in class org.codehaus.janino.UnitCompiler
 
compile(File[]) - Method in class org.codehaus.janino.Compiler
Reads a set of JavaTM compilation units (a.k.a.
compile(Resource[]) - Method in class org.codehaus.janino.Compiler
See Compiler.compile(File[]).
compile2(Java.PackageMemberTypeDeclaration) - Method in class org.codehaus.janino.UnitCompiler
 
compile2(Java.ClassDeclaration) - Method in class org.codehaus.janino.UnitCompiler
 
compile2(Java.AnonymousClassDeclaration) - Method in class org.codehaus.janino.UnitCompiler
 
compile2(Java.LocalClassDeclaration) - Method in class org.codehaus.janino.UnitCompiler
 
compile2(Java.InnerClassDeclaration) - Method in class org.codehaus.janino.UnitCompiler
 
compile2(Java.MemberClassDeclaration) - Method in class org.codehaus.janino.UnitCompiler
 
compile2(Java.InterfaceDeclaration) - Method in class org.codehaus.janino.UnitCompiler
 
CompileException - Exception in org.codehaus.janino
An exception that reflects an error during compilation.
CompileException(String, Location) - Constructor for exception org.codehaus.janino.CompileException
 
CompileException(String, Location, Throwable) - Constructor for exception org.codehaus.janino.CompileException
 
Compiler - Class in org.codehaus.janino
A simplified substitute for the javac tool.
Compiler(File[], File[], File[], File[], File, String, boolean, EnumeratorSet, StringPattern[], boolean) - Constructor for class org.codehaus.janino.Compiler
Initialize a JavaTM compiler with the given parameters.
Compiler(ResourceFinder, IClassLoader, ResourceFinder, ResourceCreator, String, boolean, EnumeratorSet, WarningHandler) - Constructor for class org.codehaus.janino.Compiler
To mimic the behavior of JAVAC with a missing "-d" command line option, pass Compiler.FIND_NEXT_TO_SOURCE_FILE as the classFileResourceFinder and Compiler.CREATE_NEXT_TO_SOURCE_FILE as the classFileResourceCreator.
Compiler.SimpleWarningHandler - Class in org.codehaus.janino
 
Compiler.SimpleWarningHandler() - Constructor for class org.codehaus.janino.Compiler.SimpleWarningHandler
 
compileToClass(Java.CompilationUnit, EnumeratorSet, String) - Method in class org.codehaus.janino.ClassBodyEvaluator
Compile the given compilation unit, load all generated classes, and return the class with the given name.
compileToClassLoader(Java.CompilationUnit, EnumeratorSet) - Method in class org.codehaus.janino.SimpleCompiler
Compile the given compilation unit.
compileToMethods(Java.CompilationUnit, String[], Class[][]) - Method in class org.codehaus.janino.ScriptEvaluator
 
compileUnit(EnumeratorSet) - Method in class org.codehaus.janino.UnitCompiler
Generates an array of ClassFile objects which represent the classes and interfaces defined in the compilation unit.
componentType - Variable in class org.codehaus.janino.Java.ArrayType
 
comprehensiveVisitor() - Method in class org.codehaus.janino.util.Traverser
 
condition - Variable in class org.codehaus.janino.Java.DoStatement
 
condition - Variable in class org.codehaus.janino.Java.IfStatement
 
condition - Variable in class org.codehaus.janino.Java.SwitchStatement
 
condition - Variable in class org.codehaus.janino.Java.WhileStatement
 
CONSTANT_VALUE_NULL - Static variable in class org.codehaus.janino.Java.Rvalue
 
constantDeclarations - Variable in class org.codehaus.janino.Java.InterfaceDeclaration
 
constantPool - Variable in class org.codehaus.janino.util.ClassFile
 
constructors - Variable in class org.codehaus.janino.Java.ClassDeclaration
 
contains(Enumerator) - Method in class org.codehaus.janino.util.enumerator.EnumeratorSet
Check whether this set contains the given value
containsAllOf(EnumeratorSet) - Method in class org.codehaus.janino.util.enumerator.EnumeratorSet
Check if this set contains all values of the given set.
containsAnyOf(EnumeratorSet) - Method in class org.codehaus.janino.util.enumerator.EnumeratorSet
Check if this set contains any of the values of the given set.
cook(Scanner) - Method in class org.codehaus.janino.ClassBodyEvaluator
 
cook(Scanner) - Method in class org.codehaus.janino.Cookable
To be implemented by the derived classes.
cook(Reader) - Method in class org.codehaus.janino.Cookable
 
cook(String, Reader) - Method in class org.codehaus.janino.Cookable
 
cook(InputStream) - Method in class org.codehaus.janino.Cookable
Cook tokens from an InputStream, encoded in the "platform default encoding".
cook(String, InputStream) - Method in class org.codehaus.janino.Cookable
Cook tokens from an InputStream, encoded in the "platform default encoding".
cook(InputStream, String) - Method in class org.codehaus.janino.Cookable
 
cook(String, InputStream, String) - Method in class org.codehaus.janino.Cookable
 
cook(String) - Method in class org.codehaus.janino.Cookable
Cook tokens from a String.
cook(Scanner) - Method in class org.codehaus.janino.ScriptEvaluator
 
cook(Scanner[]) - Method in class org.codehaus.janino.ScriptEvaluator
Like ScriptEvaluator.cook(Scanner), but cooks a set of scripts into one class.
cook(Reader[]) - Method in class org.codehaus.janino.ScriptEvaluator
 
cook(String[], Reader[]) - Method in class org.codehaus.janino.ScriptEvaluator
 
cook(String[]) - Method in class org.codehaus.janino.ScriptEvaluator
Cook tokens from Strings.
cook(Scanner) - Method in class org.codehaus.janino.SimpleCompiler
 
cook(Java.CompilationUnit) - Method in class org.codehaus.janino.SimpleCompiler
Cook this compilation unit directly.
Cookable - Class in org.codehaus.janino
"Cooking" means scanning a sequence of JavaTM tokens with a Scanner and turning them into some artifact.
Cookable() - Constructor for class org.codehaus.janino.Cookable
 
cookFile(File) - Method in class org.codehaus.janino.Cookable
Cook tokens from the given File, encoded in the "platform default encoding".
cookFile(File, String) - Method in class org.codehaus.janino.Cookable
 
cookFile(String) - Method in class org.codehaus.janino.Cookable
Cook tokens from the named file, encoded in the "platform default encoding".
cookFile(String, String) - Method in class org.codehaus.janino.Cookable
 
CREATE_NEXT_TO_SOURCE_FILE - Static variable in class org.codehaus.janino.Compiler
 
createAnonymousClassName() - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
 
createAnonymousClassName() - Method in interface org.codehaus.janino.Java.TypeDeclaration
Creates a unique name for an anonymous class.
createFastClassBodyEvaluator(Scanner, Class, ClassLoader) - Static method in class org.codehaus.janino.ClassBodyEvaluator
Scans, parses and compiles a class body from the tokens delivered by the the given Scanner.
createFastClassBodyEvaluator(Scanner, String, Class, Class[], ClassLoader) - Static method in class org.codehaus.janino.ClassBodyEvaluator
Scans, parses and compiles a class body from the tokens delivered by the the given Scanner with no default imports.
createFastEvaluator(ScriptEvaluator, String, String[], Class) - Static method in class org.codehaus.janino.ScriptEvaluator
 
createFastEvaluator(ScriptEvaluator, Scanner, String[], Class) - Static method in class org.codehaus.janino.ScriptEvaluator
Create and return an object that implements the exactly one method of the given interfaceToImplement.
createFastExpressionEvaluator(String, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ExpressionEvaluator
Creates a "fast expression evaluator" from the given String expression, generating a class with the ClassBodyEvaluator.DEFAULT_CLASS_NAME that extends Object.
createFastExpressionEvaluator(Scanner, String, Class, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ExpressionEvaluator
Creates a "fast expression evaluator" from the given Scanner with no default imports.
createFastExpressionEvaluator(Scanner, String[], String, Class, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ExpressionEvaluator
Creates a "fast expression evaluator".
createFastScriptEvaluator(String, Class, String[]) - Static method in class org.codehaus.janino.ScriptEvaluator
Simplified version of ScriptEvaluator.createFastScriptEvaluator(Scanner, Class, String[], ClassLoader).
createFastScriptEvaluator(Scanner, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ScriptEvaluator
If the parameter and return types of the expression are known at compile time, then a "fast" script evaluator can be instantiated through this method.
createFastScriptEvaluator(Scanner, String, Class, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ScriptEvaluator
Like ScriptEvaluator.createFastScriptEvaluator(Scanner, Class, String[], ClassLoader), but gives you more control over the generated class (rarely needed in practice).
createFastScriptEvaluator(Scanner, String[], String, Class, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ScriptEvaluator
 
createJavacLikePathIClassLoader(File[], File[], File[]) - Static method in class org.codehaus.janino.IClassLoader
Create an IClassLoader that looks for classes in the given "boot class path", then in the given "extension directories", and then in the given "class path".
createLocalTypeName(String) - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
 
createLocalTypeName(String) - Method in interface org.codehaus.janino.Java.TypeDeclaration
Creates a unique name for a local class or interface.
createObject(Class, String) - Static method in class org.codehaus.janino.samples.DemoBase
 
createResource(String) - Method in class org.codehaus.janino.util.resource.FileResourceCreator
 
createResource(String) - Method in class org.codehaus.janino.util.resource.MapResourceCreator
 
createResource(String) - Method in interface org.codehaus.janino.util.resource.ResourceCreator
Create the designated resource.
currentInserter() - Method in class org.codehaus.janino.CodeContext
 

janino.net
A B C D E F G H I J L M N O P Q R S T U V W Z