- 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) - Constructor for class org.codehaus.janino.CachingJavaSourceClassLoader
-
- CachingJavaSourceClassLoader(ClassLoader, ResourceFinder, String, ResourceFinder, ResourceCreator) - 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.commons.compiler
-
For compatibility with pre-1.4 JDKs, this class mimics
- CausedException() - Constructor for exception org.codehaus.commons.compiler.CausedException
-
- CausedException(String) - Constructor for exception org.codehaus.commons.compiler.CausedException
-
- CausedException(String, Throwable) - Constructor for exception org.codehaus.commons.compiler.CausedException
-
- CausedException(Throwable) - Constructor for exception org.codehaus.commons.compiler.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.commons.compiler.samples
-
A test program that allows you to play with the ClassBodyEvaluator
API.
- ClassBodyEvaluator - Class in org.codehaus.commons.compiler.jdk
-
- ClassBodyEvaluator() - Constructor for class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- ClassBodyEvaluator - Class in org.codehaus.janino
-
The optionalClassLoader
serves two purposes:
It is used to look for classes referenced by the class body.
- 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
Class
es into an array of
Java.Type
s.
- ClassFile - Class in org.codehaus.janino.util
-
An object that represents the Java™ "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
-
- ClassFileIClass(ClassFile, IClassLoader) - Constructor for class org.codehaus.janino.ClassFileIClass
-
- ClassLoaderIClassLoader - Class in org.codehaus.janino
-
- 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.
- CLEAR_TABULATORS - Static variable in class org.codehaus.janino.util.AutoIndentWriter
-
- 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.commons.io.MultiReader
-
Closes all delegates.
- close() - Method in class org.codehaus.janino.Scanner
-
Deprecated.
- close() - Method in class org.codehaus.janino.UnparseVisitor
-
- close() - Method in class org.codehaus.janino.util.AutoIndentWriter
-
- 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
-
- 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 Java™ compilation units (a.k.a.
- compile(Resource[]) - Method in class org.codehaus.janino.Compiler
-
- 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.commons.compiler
-
An exception that reflects an error during compilation.
- CompileException(String, Location) - Constructor for exception org.codehaus.commons.compiler.CompileException
-
- CompileException(String, Location, Throwable) - Constructor for exception org.codehaus.commons.compiler.CompileException
-
- Compiler - Class in org.codehaus.janino
-
A simplified substitute for the javac tool.
- Compiler(File[], File[], File[], File[], File, String, boolean, boolean, boolean, boolean, StringPattern[], boolean) - Constructor for class org.codehaus.janino.Compiler
-
Initialize a Java™ compiler with the given parameters.
- Compiler(ResourceFinder, IClassLoader, ResourceFinder, ResourceCreator, String, boolean, boolean, boolean, boolean, WarningHandler) - Constructor for class org.codehaus.janino.Compiler
-
- Compiler.SimpleWarningHandler - Class in org.codehaus.janino
-
- Compiler.SimpleWarningHandler() - Constructor for class org.codehaus.janino.Compiler.SimpleWarningHandler
-
- CompilerFactory - Class in org.codehaus.commons.compiler.jdk
-
- CompilerFactory() - Constructor for class org.codehaus.commons.compiler.jdk.CompilerFactory
-
- CompilerFactory - Class in org.codehaus.janino
-
- CompilerFactory() - Constructor for class org.codehaus.janino.CompilerFactory
-
- CompilerFactoryFactory - Class in org.codehaus.commons.compiler
-
- compileToClass(Java.CompilationUnit, 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) - 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(boolean, boolean, boolean) - Method in class org.codehaus.janino.UnitCompiler
-
Generates an array of
ClassFile
objects which represent the classes and
interfaces declared 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
-
- cook(String, Reader) - Method in class org.codehaus.commons.compiler.Cookable
-
- cook(Reader) - Method in class org.codehaus.commons.compiler.Cookable
-
- cook(InputStream) - Method in class org.codehaus.commons.compiler.Cookable
-
- cook(String, InputStream) - Method in class org.codehaus.commons.compiler.Cookable
-
- cook(InputStream, String) - Method in class org.codehaus.commons.compiler.Cookable
-
- cook(String, InputStream, String) - Method in class org.codehaus.commons.compiler.Cookable
-
- cook(String) - Method in class org.codehaus.commons.compiler.Cookable
-
- cook(String, String) - Method in class org.codehaus.commons.compiler.Cookable
-
- cook(String, Reader) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the given Reader
.
- cook(Reader) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the given Reader
.
- cook(InputStream) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the given InputStream
, encoded
in the "platform default encoding".
- cook(String, InputStream) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the given InputStream
, encoded
in the "platform default encoding".
- cook(InputStream, String) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the given InputStream
with the
given encoding
.
- cook(String, InputStream, String) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the given InputStream
with the
given encoding
.
- cook(String) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the given String
.
- cook(String, String) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the given String
.
- cook(Reader[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- cook(String[], Reader[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- cook(String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- cook(String[], String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- cook(String, Reader) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- cook(String, String[], Reader) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- cook(String[], Reader[]) - Method in class org.codehaus.commons.compiler.jdk.ExpressionEvaluator
-
- cook(String, Reader) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- cook(Reader[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- cook(String[], Reader[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- cook(String[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- cook(String[], String[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- cook(String[], Reader[], String[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- cook(String, Reader) - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- cook(JavaFileObject) - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- cook(Scanner) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- cook(Scanner) - Method in class org.codehaus.janino.ScriptEvaluator
-
- cook(Scanner[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- cook(Reader[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- cook(String[], Reader[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
On a 2 GHz Intel Pentium Core Duo under Windows XP with an IBM 1.4.2 JDK, compiling
10000 expressions "a + b" (integer) takes about 4 seconds and 56 MB of main memory.
- cook(String[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- cook(String[], String[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- cook(String, Reader) - Method in class org.codehaus.janino.SimpleCompiler
-
- 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.commons.compiler
-
- Cookable() - Constructor for class org.codehaus.commons.compiler.Cookable
-
- cookFile(File) - Method in class org.codehaus.commons.compiler.Cookable
-
- cookFile(File, String) - Method in class org.codehaus.commons.compiler.Cookable
-
- cookFile(String) - Method in class org.codehaus.commons.compiler.Cookable
-
- cookFile(String, String) - Method in class org.codehaus.commons.compiler.Cookable
-
- cookFile(File) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the given File
, encoded
in the "platform default encoding".
- cookFile(File, String) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the given File
with the
given encoding
.
- cookFile(String) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the named file, encoded in the "platform
default encoding".
- cookFile(String, String) - Method in interface org.codehaus.commons.compiler.ICookable
-
Reads, scans, parses and compiles Java tokens from the named file with the given
encoding
.
- CREATE_NEXT_TO_SOURCE_FILE - Static variable in class org.codehaus.janino.Compiler
-
Special value for "classFileResourceCreator".
- 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
-
- createFastClassBodyEvaluator(Scanner, String, Class, Class[], ClassLoader) - Static method in class org.codehaus.janino.ClassBodyEvaluator
-
- createFastEvaluator(String, Class, String[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
-
- createFastEvaluator(Reader, Class, String[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
-
- createFastEvaluator(String, Class, String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- createFastEvaluator(Reader, Class, String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
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.
- createFastEvaluator(String, Class, String[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- createFastEvaluator(Reader, Class, String[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- createFastEvaluator(Reader, Class, String[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- createFastEvaluator(String, Class, String[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- createFastEvaluator(Scanner, Class, String[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
Notice: This method is not declared in
IScriptEvaluator
, and is hence only available in
this
implementation of
org.codehaus.commons.compiler
.
- createFastExpressionEvaluator(String, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ExpressionEvaluator
-
Deprecated.
- createFastExpressionEvaluator(Scanner, String, Class, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ExpressionEvaluator
-
Deprecated.
- createFastExpressionEvaluator(Scanner, String[], String, Class, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ExpressionEvaluator
-
Deprecated.
- createFastScriptEvaluator(String, Class, String[]) - Static method in class org.codehaus.janino.ScriptEvaluator
-
Deprecated.
- createFastScriptEvaluator(Scanner, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ScriptEvaluator
-
Deprecated.
- createFastScriptEvaluator(Scanner, String, Class, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ScriptEvaluator
-
Deprecated.
- createFastScriptEvaluator(Scanner, String[], String, Class, Class, String[], ClassLoader) - Static method in class org.codehaus.janino.ScriptEvaluator
-
Deprecated.
- createInstance(Reader) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
Scans, parses and compiles a class body from the tokens delivered by the the given Reader
, then creates
and returns an instance of that class.
- createInstance(Reader) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- createInstance(Reader) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Don't use.
- createInstance(Reader) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- createInstance(Reader) - Method in class org.codehaus.janino.ScriptEvaluator
-
Don't use.
- 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.commons.compiler.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
-
- generate() - Method in interface org.codehaus.janino.AstCompilationUnitGenerator
-
- generateBytecodes(String) - Method in class org.codehaus.janino.CachingJavaSourceClassLoader
-
- generateBytecodes(String) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
Find, scan, parse the right compilation unit.
- generatesCode2(Java.BlockStatement) - Method in class org.codehaus.janino.UnitCompiler
-
- generatesCode2(Java.EmptyStatement) - Method in class org.codehaus.janino.UnitCompiler
-
- generatesCode2(Java.LocalClassDeclarationStatement) - Method in class org.codehaus.janino.UnitCompiler
-
- generatesCode2(Java.Initializer) - Method in class org.codehaus.janino.UnitCompiler
-
- generatesCode2(Java.Block) - Method in class org.codehaus.janino.UnitCompiler
-
- generatesCode2(Java.FieldDeclaration) - Method in class org.codehaus.janino.UnitCompiler
-
- generatesCode2ListStatements(List) - Method in class org.codehaus.janino.UnitCompiler
-
- getAccess() - Method in class org.codehaus.janino.ClassFileIClass
-
- getAccess() - Method in class org.codehaus.janino.IClass
-
- getAccess() - Method in class org.codehaus.janino.IClass.IField
-
- getAccess() - Method in class org.codehaus.janino.IClass.IInvocable
-
- getAccess() - Method in interface org.codehaus.janino.IClass.IMember
-
- getAccess() - Method in class org.codehaus.janino.UnitCompiler.SimpleIField
-
- getAccessFlags() - Method in class org.codehaus.janino.util.ClassFile.FieldInfo
-
- getAccessFlags() - Method in class org.codehaus.janino.util.ClassFile.MethodInfo
-
- getAllCompilerFactories() - Static method in class org.codehaus.commons.compiler.CompilerFactoryFactory
-
Finds all implementation of
org.codehaus.commons.compiler
on the class path, then loads and
instantiates their
ICompilerFactory
s.
- getAllLocalVars() - Method in class org.codehaus.janino.CodeContext
-
- getArrayIClass(int, IClass) - Method in class org.codehaus.janino.IClass
-
Get an
IClass
that represents an n-dimensional array of this type.
- getArrayIClass(IClass) - Method in class org.codehaus.janino.IClass
-
Get an
IClass
that represents an array of this type.
- getAttributes() - Method in class org.codehaus.janino.util.ClassFile.FieldInfo
-
- getAttributes() - Method in class org.codehaus.janino.util.ClassFile.MethodInfo
-
- getCause() - Method in exception org.codehaus.commons.compiler.CausedException
-
- getClassFile() - Method in class org.codehaus.janino.CodeContext
-
- getClassFile(String, File, File) - Static method in class org.codehaus.janino.Compiler
-
Construct the name of a file that could store the byte code of the class with the given
name.
- getClassFile(String, File, File) - Static method in class org.codehaus.janino.tools.JGrep
-
Construct the name of a file that could store the byte code of the class with the given
name.
- getClassFile() - Method in class org.codehaus.janino.util.ClassFile.MethodInfo
-
- getClassFileResourceName(String) - Static method in class org.codehaus.janino.util.ClassFile
-
Construct the name of a resource that could contain the class file of the
class with the given name.
- getClassLoader() - Method in interface org.codehaus.commons.compiler.ISimpleCompiler
-
Returns a ClassLoader
object through which the previously compiled classes can be accessed.
- getClassLoader() - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- getClassLoader() - Method in class org.codehaus.janino.ClassLoaderIClassLoader
-
- getClassLoader() - Method in class org.codehaus.janino.SimpleCompiler
-
- getClassName() - Method in class org.codehaus.janino.Java.AnonymousClassDeclaration
-
- getClassName() - Method in class org.codehaus.janino.Java.LocalClassDeclaration
-
- getClassName() - Method in class org.codehaus.janino.Java.MemberClassDeclaration
-
- getClassName() - Method in class org.codehaus.janino.Java.MemberInterfaceDeclaration
-
- getClassName() - Method in class org.codehaus.janino.Java.PackageMemberClassDeclaration
-
- getClassName() - Method in class org.codehaus.janino.Java.PackageMemberInterfaceDeclaration
-
- getClassName() - Method in interface org.codehaus.janino.Java.TypeDeclaration
-
Determine the effective class name, e.g.
- getClazz() - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
Returns the loaded Class
.
- getClazz() - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- getClazz() - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- getCodeContext() - Method in class org.codehaus.janino.CodeContext.Offset
-
- getColumnNumber() - Method in class org.codehaus.commons.compiler.Location
-
- getCompilerFactory(String) - Static method in class org.codehaus.commons.compiler.CompilerFactoryFactory
-
- getComponentDescriptor(String) - Static method in class org.codehaus.janino.Descriptor
-
- getComponentType() - Method in class org.codehaus.janino.IClass
-
Returns the component type of the array.
Returns "null" for classes, interfaces, primitive types and "void".
- getComponentType2() - Method in class org.codehaus.janino.ClassFileIClass
-
- getComponentType2() - Method in class org.codehaus.janino.IClass
-
- getConstantClassName(short) - Method in class org.codehaus.janino.util.ClassFile
-
- getConstantPoolInfo(short) - Method in class org.codehaus.janino.util.ClassFile
-
- getConstantUtf8(short) - Method in class org.codehaus.janino.util.ClassFile
-
- getConstantValue() - Method in class org.codehaus.janino.IClass.IField
-
Returns the value of the field if it is a compile-time constant
value, i.e.
- getConstantValue(Java.Rvalue) - Method in class org.codehaus.janino.UnitCompiler
-
Attempts to evaluate as a constant expression.
- getConstantValue() - Method in class org.codehaus.janino.UnitCompiler.SimpleIField
-
- getConstantValueIndex() - Method in class org.codehaus.janino.util.ClassFile.ConstantValueAttribute
-
- getDeclaredIClasses() - Method in class org.codehaus.janino.IClass
-
Returns the classes and interfaces declared as members of the class
(but not inherited classes and interfaces).
Returns an empty array for an array, primitive type or "void".
- getDeclaredIClasses2() - Method in class org.codehaus.janino.ClassFileIClass
-
- getDeclaredIClasses2() - Method in class org.codehaus.janino.IClass
-
- getDeclaredIConstructors() - Method in class org.codehaus.janino.IClass
-
Returns all the constructors declared by the class represented by the
type.
- getDeclaredIConstructors2() - Method in class org.codehaus.janino.ClassFileIClass
-
- getDeclaredIConstructors2() - Method in class org.codehaus.janino.IClass
-
- getDeclaredIField(String) - Method in class org.codehaus.janino.IClass
-
- getDeclaredIFields() - Method in class org.codehaus.janino.IClass
-
- getDeclaredIFields2() - Method in class org.codehaus.janino.ClassFileIClass
-
- getDeclaredIFields2() - Method in class org.codehaus.janino.IClass
-
- getDeclaredIMethods() - Method in class org.codehaus.janino.IClass
-
Returns the methods of the class or interface (but not inherited
methods).
Returns an empty array for an array, primitive type or "void".
- getDeclaredIMethods(String) - Method in class org.codehaus.janino.IClass
-
Returns all methods with the given name declared in the class or
interface (but not inherited methods).
Returns an empty array if no methods with that name are declared.
- getDeclaredIMethods2() - Method in class org.codehaus.janino.ClassFileIClass
-
- getDeclaredIMethods2() - Method in class org.codehaus.janino.IClass
-
- getDeclaringClass() - Method in class org.codehaus.janino.Java.ConstructorDeclarator
-
- getDeclaringCompilationUnit() - Method in class org.codehaus.janino.Java.PackageMemberClassDeclaration
-
- getDeclaringCompilationUnit() - Method in class org.codehaus.janino.Java.PackageMemberInterfaceDeclaration
-
- getDeclaringCompilationUnit() - Method in interface org.codehaus.janino.Java.PackageMemberTypeDeclaration
-
- getDeclaringIClass() - Method in class org.codehaus.janino.IClass
-
If this class is a member class, return the declaring class, otherwise return
null
.
- getDeclaringIClass() - Method in class org.codehaus.janino.IClass.IField
-
- getDeclaringIClass() - Method in class org.codehaus.janino.IClass.IInvocable
-
- getDeclaringIClass() - Method in interface org.codehaus.janino.IClass.IMember
-
- getDeclaringIClass2() - Method in class org.codehaus.janino.ClassFileIClass
-
- getDeclaringIClass2() - Method in class org.codehaus.janino.IClass
-
- getDeclaringType() - Method in class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
-
- getDeclaringType() - Method in class org.codehaus.janino.Java.FieldDeclaration
-
- getDeclaringType() - Method in class org.codehaus.janino.Java.MemberClassDeclaration
-
- getDeclaringType() - Method in class org.codehaus.janino.Java.MemberInterfaceDeclaration
-
- getDeclaringType() - Method in interface org.codehaus.janino.Java.TypeBodyDeclaration
-
- getDefaultCompilerFactory() - Static method in class org.codehaus.commons.compiler.CompilerFactoryFactory
-
Finds the first implementation of
org.codehaus.commons.compiler
on the class path, then loads and
instantiates its
ICompilerFactory
.
- getDefaultReturnType() - Method in class org.codehaus.commons.compiler.jdk.ExpressionEvaluator
-
- getDefaultReturnType() - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- getDefaultReturnType() - Method in class org.codehaus.janino.ExpressionEvaluator
-
- getDefaultReturnType() - Method in class org.codehaus.janino.ScriptEvaluator
-
- getDescriptor() - Method in class org.codehaus.janino.IClass
-
Returns the field descriptor for the type as defined by JVMS 4.3.2.
- getDescriptor() - Method in class org.codehaus.janino.IClass.IConstructor
-
- getDescriptor() - Method in class org.codehaus.janino.IClass.IField
-
- getDescriptor() - Method in class org.codehaus.janino.IClass.IInvocable
-
- getDescriptor() - Method in class org.codehaus.janino.IClass.IMethod
-
- getDescriptor2() - Method in class org.codehaus.janino.ClassFileIClass
-
- getDescriptor2() - Method in class org.codehaus.janino.IClass
-
- getDescriptorIndex() - Method in class org.codehaus.janino.util.ClassFile.ConstantNameAndTypeInfo
-
- getDescriptorIndex() - Method in class org.codehaus.janino.util.ClassFile.FieldInfo
-
- getDescriptorIndex() - Method in class org.codehaus.janino.util.ClassFile.MethodInfo
-
- getDescriptors(IClass[]) - Static method in class org.codehaus.janino.IClass
-
Convenience method that determines the field descriptors of an array of
IClass
es.
- getDocComment() - Method in interface org.codehaus.janino.Java.DocCommentable
-
Returns the doc comment of the object or null
.
- getDocComment() - Method in class org.codehaus.janino.Java.FieldDeclaration
-
- getDocComment() - Method in class org.codehaus.janino.Java.FunctionDeclarator
-
- getDocComment() - Method in class org.codehaus.janino.Java.InterfaceDeclaration
-
- getDocComment() - Method in class org.codehaus.janino.Java.NamedClassDeclaration
-
- getEnclosingBlockStatement() - Method in class org.codehaus.janino.Java.Rvalue
-
- getEnclosingScope() - Method in class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
-
- getEnclosingScope() - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
-
- getEnclosingScope() - Method in interface org.codehaus.janino.Java.BlockStatement
-
- getEnclosingScope() - Method in class org.codehaus.janino.Java.CatchClause
-
- getEnclosingScope() - Method in class org.codehaus.janino.Java.CompilationUnit
-
- getEnclosingScope() - Method in class org.codehaus.janino.Java.ConstructorInvocation
-
- getEnclosingScope() - Method in class org.codehaus.janino.Java.EnclosingScopeOfTypeDeclaration
-
- getEnclosingScope() - Method in class org.codehaus.janino.Java.FunctionDeclarator
-
- getEnclosingScope() - Method in interface org.codehaus.janino.Java.Scope
-
- getEnclosingScope() - Method in class org.codehaus.janino.Java.Statement
-
- getEnclosingScope() - Method in class org.codehaus.janino.Java.Type
-
- getEnd() - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- getEntries() - Method in class org.codehaus.janino.util.ClassFile.InnerClassesAttribute
-
- getExceptionIndexes() - Method in class org.codehaus.janino.util.ClassFile.ExceptionsAttribute
-
- getFile(String) - Method in class org.codehaus.janino.util.resource.DirectoryResourceCreator
-
- getFile() - Method in class org.codehaus.janino.util.resource.FileResource
-
- getFile(String) - Method in class org.codehaus.janino.util.resource.FileResourceCreator
-
- getFileForInput(JavaFileManager.Location, String, String) - Method in class org.codehaus.commons.compiler.jdk.ByteArrayJavaFileManager
-
- getFileForOutput(JavaFileManager.Location, String, String, FileObject) - Method in class org.codehaus.commons.compiler.jdk.ByteArrayJavaFileManager
-
- getFileName() - Method in class org.codehaus.commons.compiler.Location
-
- getFileName() - Method in class org.codehaus.janino.Scanner
-
Return the file name optionally passed to the constructor.
- getFileName() - Method in class org.codehaus.janino.util.resource.FileResource
-
- getFileName() - Method in interface org.codehaus.janino.util.resource.Resource
-
Returns a decorative "file name" that can be used for reporting
errors and the like.
- getId() - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
-
- getId() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
-
- getId() - Method in class org.codehaus.commons.compiler.jdk.CompilerFactory
-
- getId() - Method in class org.codehaus.janino.CompilerFactory
-
- getIdentifier() - Method in class org.codehaus.janino.Scanner.IdentifierToken
-
- getIdentifier() - Method in class org.codehaus.janino.Scanner.Token
-
- getIMethods() - Method in class org.codehaus.janino.IClass
-
Returns all methods declared in the class or interface, its superclasses and its
superinterfaces.
- getIMethods(IClass, String, List) - Method in class org.codehaus.janino.UnitCompiler
-
Add all methods with the given methodName
that are declared
by the type
, its superclasses and all their superinterfaces
to the result list v
.
- getImplementationVersion() - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
-
- getImplementationVersion() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
-
- getImplementationVersion() - Method in class org.codehaus.commons.compiler.jdk.CompilerFactory
-
- getImplementationVersion() - Method in class org.codehaus.janino.CompilerFactory
-
- getInnerClassesAttribute() - Method in class org.codehaus.janino.util.ClassFile
-
Find the "InnerClasses" attribute of this class file
- getInterfaces() - Method in class org.codehaus.janino.IClass
-
Returns the interfaces implemented by the class.
Returns the superinterfaces of the interface.
Returns "Cloneable" and "Serializable" for arrays.
Returns an empty array for primitive types and "void".
- getInterfaces2() - Method in class org.codehaus.janino.ClassFileIClass
-
- getInterfaces2() - Method in class org.codehaus.janino.IClass
-
- getJavaFileForInput(JavaFileManager.Location, String, JavaFileObject.Kind) - Method in class org.codehaus.commons.compiler.jdk.ByteArrayJavaFileManager
-
- getJavaFileForOutput(JavaFileManager.Location, String, JavaFileObject.Kind, FileObject) - Method in class org.codehaus.commons.compiler.jdk.ByteArrayJavaFileManager
-
- getKeyword() - Method in class org.codehaus.janino.Scanner.KeywordToken
-
- getKeyword() - Method in class org.codehaus.janino.Scanner.Token
-
- getLineNumber() - Method in class org.codehaus.commons.compiler.Location
-
- getLiteralValue() - Method in class org.codehaus.janino.Scanner.LiteralToken
-
- getLiteralValue() - Method in class org.codehaus.janino.Scanner.Token
-
- getLocalVariable(Java.LocalVariableDeclarationStatement, Java.VariableDeclarator) - Method in class org.codehaus.janino.UnitCompiler
-
- getLocalVariable(Java.FunctionDeclarator.FormalParameter) - Method in class org.codehaus.janino.UnitCompiler
-
- getLocation() - Method in exception org.codehaus.commons.compiler.LocatedException
-
Returns the
Location
object specified at
construction time (may be
null
).
- getLocation() - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
-
- getLocation() - Method in interface org.codehaus.janino.Java.Locatable
-
- getLocation() - Method in class org.codehaus.janino.Java.Located
-
- getLocation() - Method in class org.codehaus.janino.Scanner.Token
-
- getMajorVersion() - Method in class org.codehaus.janino.util.ClassFile
-
Returns the current major class file version number.
- getMap() - Method in class org.codehaus.janino.util.resource.MapResourceCreator
-
- getMemberTypeDeclaration(String) - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
-
- getMemberTypeDeclaration(String) - Method in interface org.codehaus.janino.Java.TypeDeclaration
-
Return the member type with the given name.
- getMemberTypeDeclarations() - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
-
- getMemberTypeDeclarations() - Method in interface org.codehaus.janino.Java.TypeDeclaration
-
- getMessage() - Method in exception org.codehaus.commons.compiler.LocatedException
-
Returns the message specified at creation time, preceeded with nicely formatted location
information (if any).
- getMethod() - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Returns the loaded Method
.
- getMethod(int) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- getMethod() - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- getMethod(int) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- getMethod() - Method in class org.codehaus.janino.ScriptEvaluator
-
- getMethod(int) - Method in class org.codehaus.janino.ScriptEvaluator
-
- getMethodDeclaration(String) - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
-
- getMethodDeclaration(String) - Method in interface org.codehaus.janino.Java.TypeDeclaration
-
Return the first method declared with the given name.
- getMethodDeclarations() - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
-
- getMethodDeclarations() - Method in interface org.codehaus.janino.Java.TypeDeclaration
-
- getMinorVersion() - Method in class org.codehaus.janino.util.ClassFile
-
Returns the current minor class file version number.
- getMode() - Method in class org.codehaus.janino.util.StringPattern
-
- getModifiers() - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
-
- getModifiers() - Method in interface org.codehaus.janino.Java.TypeDeclaration
-
- getName() - Method in class org.codehaus.janino.IClass.IField
-
- getName() - Method in class org.codehaus.janino.IClass.IMethod
-
- getName() - Method in class org.codehaus.janino.Java.InterfaceDeclaration
-
- getName() - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- getName() - Method in class org.codehaus.janino.Java.NamedClassDeclaration
-
- getName() - Method in interface org.codehaus.janino.Java.NamedTypeDeclaration
-
Returns the declared (not the fully qualified) name of the class or interface.
- getName() - Method in class org.codehaus.janino.UnitCompiler.SimpleIField
-
- getNameAndTypeIndex() - Method in class org.codehaus.janino.util.ClassFile.ConstantFieldrefInfo
-
- getNameAndTypeIndex() - Method in class org.codehaus.janino.util.ClassFile.ConstantInterfaceMethodrefInfo
-
- getNameAndTypeIndex() - Method in class org.codehaus.janino.util.ClassFile.ConstantMethodrefInfo
-
- getNameIndex() - Method in class org.codehaus.janino.util.ClassFile.FieldInfo
-
- getNameIndex() - Method in class org.codehaus.janino.util.ClassFile.MethodInfo
-
- getOperator() - Method in class org.codehaus.janino.Scanner.Token
-
- getOuterIClass() - Method in class org.codehaus.janino.IClass
-
The following types have an "outer class":
Anonymous classes declared in a non-static method of a class
Local classes declared in a non-static method of a class
Non-static member classes
- getOuterIClass2() - Method in class org.codehaus.janino.ClassFileIClass
-
- getOuterIClass2() - Method in class org.codehaus.janino.IClass
-
- getOuterIClass2() - Method in class org.codehaus.janino.Java.LocalClassDeclaration
-
- getOuterIClass2() - Method in class org.codehaus.janino.Java.PackageMemberClassDeclaration
-
- getPackageMemberTypeDeclaration(String) - Method in class org.codehaus.janino.Java.CompilationUnit
-
Return the package member class or interface declared with the given name.
- getPackageMemberTypeDeclarations() - Method in class org.codehaus.janino.Java.CompilationUnit
-
Get all classes and interfaces declared in this compilation unit.
- getPackageName(String) - Static method in class org.codehaus.janino.Descriptor
-
Returns the package name of a class or interface reference descriptor,
or null
if the class or interface is declared in the
default package.
- getParameterTypes() - Method in class org.codehaus.janino.IClass.IConstructor
-
Opposed to Constructor.getParameterTypes()
, the
return value of this method does not include the optionally leading "synthetic
parameters".
- getParameterTypes() - Method in class org.codehaus.janino.IClass.IInvocable
-
- getProtectionDomain(String) - Method in interface org.codehaus.commons.compiler.AbstractJavaSourceClassLoader.ProtectionDomainFactory
-
- getResourceFinder() - Method in class org.codehaus.janino.util.ResourceFinderClassLoader
-
- getReturnType() - Method in class org.codehaus.janino.IClass.IMethod
-
- getScanner() - Method in class org.codehaus.janino.Parser
-
- getSingleTypeImport(String) - Method in class org.codehaus.janino.UnitCompiler
-
Check if the given name was imported through a "single type import", e.g.
- getSlotIndex() - Method in class org.codehaus.janino.Java.LocalVariable
-
- getSlotIndex() - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- getSourceResourceName(String) - Static method in class org.codehaus.janino.util.ClassFile
-
Construct the name of a resource that could contain the source code of
the class with the given name.
- getSpecificationVersion() - Static method in class org.codehaus.commons.compiler.CompilerFactoryFactory
-
- getStart() - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- getStatements() - Method in class org.codehaus.janino.Java.Block
-
- getString() - Method in class org.codehaus.janino.util.ClassFile.ConstantUtf8Info
-
- getSuperclass() - Method in class org.codehaus.janino.IClass
-
Returns the superclass of the class.
Returns "null" for class "Object", interfaces, arrays, primitive types
and "void".
- getSuperclass2() - Method in class org.codehaus.janino.ClassFileIClass
-
- getSuperclass2() - Method in class org.codehaus.janino.IClass
-
- getSyntheticIFields() - Method in class org.codehaus.janino.IClass
-
Returns the synthetic fields of an anonymous or local class, in
the order in which they are passed to all constructors.
- getThisClassName() - Method in class org.codehaus.janino.util.ClassFile
-
- getThrownExceptions() - Method in class org.codehaus.janino.IClass.IInvocable
-
- getType() - Method in class org.codehaus.janino.IClass.IField
-
- getType() - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- getType() - Method in class org.codehaus.janino.UnitCompiler.SimpleIField
-
- getValue(ClassFile) - Method in class org.codehaus.janino.util.ClassFile.ConstantValuePoolInfo
-
- getWhereToBreak(Java.BreakableStatement) - Method in class org.codehaus.janino.UnitCompiler
-
- guessParameterNames(Scanner) - Static method in class org.codehaus.janino.ExpressionEvaluator
-
Guess the names of the parameters used in the given expression.
- guessParameterNames(Scanner) - Static method in class org.codehaus.janino.ScriptEvaluator
-
Guess the names of the parameters used in the given expression.
- JaninoRuntimeException - Exception in org.codehaus.janino
-
All Janino components that throw RuntimeException
throw this subclass
to allow for client libraries to intercept them more easily.
- JaninoRuntimeException() - Constructor for exception org.codehaus.janino.JaninoRuntimeException
-
- JaninoRuntimeException(String) - Constructor for exception org.codehaus.janino.JaninoRuntimeException
-
- JarDirectoriesResourceFinder - Class in org.codehaus.janino.util.resource
-
Finds resources in any of the "*.jar" files that exist in a given set of directories.
- JarDirectoriesResourceFinder(File[]) - Constructor for class org.codehaus.janino.util.resource.JarDirectoriesResourceFinder
-
- Java - Class in org.codehaus.janino
-
This wrapper class defines classes that represent the elements of the
Java™ programming language.
- Java.AbstractTypeBodyDeclaration - Class in org.codehaus.janino
-
- Java.AbstractTypeBodyDeclaration(Location, boolean) - Constructor for class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
-
- Java.AbstractTypeDeclaration - Class in org.codehaus.janino
-
- Java.AbstractTypeDeclaration(Location, short) - Constructor for class org.codehaus.janino.Java.AbstractTypeDeclaration
-
- Java.AlternateConstructorInvocation - Class in org.codehaus.janino
-
- Java.AlternateConstructorInvocation(Location, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.AlternateConstructorInvocation
-
- Java.AmbiguousName - Class in org.codehaus.janino
-
This class is special: It does not extend/implement the Atom subclasses,
but overrides Atom's "to...()" methods.
- Java.AmbiguousName(Location, String[]) - Constructor for class org.codehaus.janino.Java.AmbiguousName
-
- Java.AmbiguousName(Location, String[], int) - Constructor for class org.codehaus.janino.Java.AmbiguousName
-
- Java.AnonymousClassDeclaration - Class in org.codehaus.janino
-
- Java.AnonymousClassDeclaration(Location, Java.Type) - Constructor for class org.codehaus.janino.Java.AnonymousClassDeclaration
-
- Java.ArrayAccessExpression - Class in org.codehaus.janino
-
This class implements an array access.
- Java.ArrayAccessExpression(Location, Java.Rvalue, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.ArrayAccessExpression
-
- Java.ArrayInitializer - Class in org.codehaus.janino
-
Represents a Java™ array initializer (JLS 10.6).
- Java.ArrayInitializer(Location, Java.ArrayInitializerOrRvalue[]) - Constructor for class org.codehaus.janino.Java.ArrayInitializer
-
- Java.ArrayInitializerOrRvalue - Interface in org.codehaus.janino
-
- Java.ArrayLength - Class in org.codehaus.janino
-
- Java.ArrayLength(Location, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.ArrayLength
-
- Java.ArrayType - Class in org.codehaus.janino
-
Representation of a Java™ array type (JLS 10.1).
- Java.ArrayType(Java.Type) - Constructor for class org.codehaus.janino.Java.ArrayType
-
- Java.Assignment - Class in org.codehaus.janino
-
- Java.Assignment(Location, Java.Lvalue, String, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.Assignment
-
- Java.Atom - Class in org.codehaus.janino
-
- Java.Atom(Location) - Constructor for class org.codehaus.janino.Java.Atom
-
- Java.BasicType - Class in org.codehaus.janino
-
Representation of a Java™ "basic type" (obviously
equaivalent to a "primitive type") (JLS 4.2).
- Java.BasicType(Location, int) - Constructor for class org.codehaus.janino.Java.BasicType
-
- Java.BinaryOperation - Class in org.codehaus.janino
-
Representation of all non-operand-modifying Java™ binary
operations.
- Java.BinaryOperation(Location, Java.Rvalue, String, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.BinaryOperation
-
- Java.Block - Class in org.codehaus.janino
-
Representation of a Java™ "block" (JLS 14.2).
- Java.Block(Location) - Constructor for class org.codehaus.janino.Java.Block
-
- Java.BlockStatement - Interface in org.codehaus.janino
-
Base of all statements that can appear in a block.
- Java.BooleanRvalue - Class in org.codehaus.janino
-
Base class for
Java.Rvalue
s that compile better as conditional
branches.
- Java.BooleanRvalue(Location) - Constructor for class org.codehaus.janino.Java.BooleanRvalue
-
- Java.BreakableStatement - Class in org.codehaus.janino
-
Base class for statements that can be terminated abnormally with a
"break" statement.
- Java.BreakableStatement(Location) - Constructor for class org.codehaus.janino.Java.BreakableStatement
-
- Java.BreakStatement - Class in org.codehaus.janino
-
Representation of the Java™ "break" statement (JLS 14.14).
- Java.BreakStatement(Location, String) - Constructor for class org.codehaus.janino.Java.BreakStatement
-
- Java.Cast - Class in org.codehaus.janino
-
- Java.Cast(Location, Java.Type, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.Cast
-
- Java.CatchClause - Class in org.codehaus.janino
-
- Java.CatchClause(Location, Java.FunctionDeclarator.FormalParameter, Java.Block) - Constructor for class org.codehaus.janino.Java.CatchClause
-
- Java.ClassDeclaration - Class in org.codehaus.janino
-
- Java.ClassDeclaration(Location, short) - Constructor for class org.codehaus.janino.Java.ClassDeclaration
-
- Java.ClassLiteral - Class in org.codehaus.janino
-
- Java.ClassLiteral(Location, Java.Type) - Constructor for class org.codehaus.janino.Java.ClassLiteral
-
- Java.CompilationUnit - Class in org.codehaus.janino
-
- Java.CompilationUnit(String) - Constructor for class org.codehaus.janino.Java.CompilationUnit
-
- Java.CompilationUnit.ImportDeclaration - Class in org.codehaus.janino
-
- Java.CompilationUnit.ImportDeclaration(Location) - Constructor for class org.codehaus.janino.Java.CompilationUnit.ImportDeclaration
-
- Java.CompilationUnit.SingleStaticImportDeclaration - Class in org.codehaus.janino
-
Represents a single static import declaration like
- Java.CompilationUnit.SingleStaticImportDeclaration(Location, String[]) - Constructor for class org.codehaus.janino.Java.CompilationUnit.SingleStaticImportDeclaration
-
- Java.CompilationUnit.SingleTypeImportDeclaration - Class in org.codehaus.janino
-
Represents a single type import declaration like
- Java.CompilationUnit.SingleTypeImportDeclaration(Location, String[]) - Constructor for class org.codehaus.janino.Java.CompilationUnit.SingleTypeImportDeclaration
-
- Java.CompilationUnit.StaticImportOnDemandDeclaration - Class in org.codehaus.janino
-
Represents a static-import-on-demand declaration like
- Java.CompilationUnit.StaticImportOnDemandDeclaration(Location, String[]) - Constructor for class org.codehaus.janino.Java.CompilationUnit.StaticImportOnDemandDeclaration
-
- Java.CompilationUnit.TypeImportOnDemandDeclaration - Class in org.codehaus.janino
-
Represents a type-import-on-demand declaration like
- Java.CompilationUnit.TypeImportOnDemandDeclaration(Location, String[]) - Constructor for class org.codehaus.janino.Java.CompilationUnit.TypeImportOnDemandDeclaration
-
- Java.ConditionalExpression - Class in org.codehaus.janino
-
- Java.ConditionalExpression(Location, Java.Rvalue, Java.Rvalue, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.ConditionalExpression
-
- Java.ConstructorDeclarator - Class in org.codehaus.janino
-
- Java.ConstructorDeclarator(Location, String, short, Java.FunctionDeclarator.FormalParameter[], Java.Type[], Java.ConstructorInvocation, List) - Constructor for class org.codehaus.janino.Java.ConstructorDeclarator
-
- Java.ConstructorInvocation - Class in org.codehaus.janino
-
- Java.ConstructorInvocation(Location, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.ConstructorInvocation
-
- Java.ContinuableStatement - Class in org.codehaus.janino
-
- Java.ContinuableStatement(Location) - Constructor for class org.codehaus.janino.Java.ContinuableStatement
-
- Java.ContinueStatement - Class in org.codehaus.janino
-
Representation of the Java™ "continue" statement (JLS
14.15).
- Java.ContinueStatement(Location, String) - Constructor for class org.codehaus.janino.Java.ContinueStatement
-
- Java.Crement - Class in org.codehaus.janino
-
Objects of this class represent represent one pre- or post-increment
or decrement.
- Java.Crement(Location, String, Java.Lvalue) - Constructor for class org.codehaus.janino.Java.Crement
-
- Java.Crement(Location, Java.Lvalue, String) - Constructor for class org.codehaus.janino.Java.Crement
-
- Java.DocCommentable - Interface in org.codehaus.janino
-
- Java.DoStatement - Class in org.codehaus.janino
-
- Java.DoStatement(Location, Java.BlockStatement, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.DoStatement
-
- Java.EmptyStatement - Class in org.codehaus.janino
-
Represents the "empty statement", i.e.
- Java.EmptyStatement(Location) - Constructor for class org.codehaus.janino.Java.EmptyStatement
-
- Java.EnclosingScopeOfTypeDeclaration - Class in org.codehaus.janino
-
- Java.EnclosingScopeOfTypeDeclaration(Java.TypeDeclaration) - Constructor for class org.codehaus.janino.Java.EnclosingScopeOfTypeDeclaration
-
- Java.ExpressionStatement - Class in org.codehaus.janino
-
- Java.ExpressionStatement(Java.Rvalue) - Constructor for class org.codehaus.janino.Java.ExpressionStatement
-
- Java.FieldAccess - Class in org.codehaus.janino
-
Representation of an access to a field of a class or an interface.
- Java.FieldAccess(Location, Java.Atom, IClass.IField) - Constructor for class org.codehaus.janino.Java.FieldAccess
-
- Java.FieldAccessExpression - Class in org.codehaus.janino
-
This class implements class or interface field access, and also the "array length"
expression "xy.length".
- Java.FieldAccessExpression(Location, Java.Atom, String) - Constructor for class org.codehaus.janino.Java.FieldAccessExpression
-
- Java.FieldDeclaration - Class in org.codehaus.janino
-
This class is derived from "Statement", because it provides for the
initialization of the field.
- Java.FieldDeclaration(Location, String, short, Java.Type, Java.VariableDeclarator[]) - Constructor for class org.codehaus.janino.Java.FieldDeclaration
-
- Java.ForStatement - Class in org.codehaus.janino
-
- Java.ForStatement(Location, Java.BlockStatement, Java.Rvalue, Java.Rvalue[], Java.BlockStatement) - Constructor for class org.codehaus.janino.Java.ForStatement
-
- Java.FunctionDeclarator - Class in org.codehaus.janino
-
- Java.FunctionDeclarator(Location, String, short, Java.Type, String, Java.FunctionDeclarator.FormalParameter[], Java.Type[], List) - Constructor for class org.codehaus.janino.Java.FunctionDeclarator
-
- Java.FunctionDeclarator.FormalParameter - Class in org.codehaus.janino
-
- Java.FunctionDeclarator.FormalParameter(Location, boolean, Java.Type, String) - Constructor for class org.codehaus.janino.Java.FunctionDeclarator.FormalParameter
-
- Java.IfStatement - Class in org.codehaus.janino
-
- Java.IfStatement(Location, Java.Rvalue, Java.BlockStatement, Java.BlockStatement) - Constructor for class org.codehaus.janino.Java.IfStatement
-
Notice that the
elseStatement
is mandatory; for an if statement without
an "else" clause, a dummy
Java.EmptyStatement
should be passed.
- Java.Initializer - Class in org.codehaus.janino
-
Representation of an instance (JLS2 8.6) or static initializer (JLS2 8.7).
- Java.Initializer(Location, boolean, Java.Block) - Constructor for class org.codehaus.janino.Java.Initializer
-
- Java.Instanceof - Class in org.codehaus.janino
-
- Java.Instanceof(Location, Java.Rvalue, Java.Type) - Constructor for class org.codehaus.janino.Java.Instanceof
-
- Java.InterfaceDeclaration - Class in org.codehaus.janino
-
- Java.InterfaceDeclaration(Location, String, short, String, Java.Type[]) - Constructor for class org.codehaus.janino.Java.InterfaceDeclaration
-
- Java.Invocation - Class in org.codehaus.janino
-
- Java.Invocation(Location, String, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.Invocation
-
- Java.LabeledStatement - Class in org.codehaus.janino
-
- Java.LabeledStatement(Location, String, Java.Statement) - Constructor for class org.codehaus.janino.Java.LabeledStatement
-
- Java.Literal - Class in org.codehaus.janino
-
- Java.Literal(Location, Object) - Constructor for class org.codehaus.janino.Java.Literal
-
- Java.LocalClassDeclaration - Class in org.codehaus.janino
-
- Java.LocalClassDeclaration(Location, String, short, String, Java.Type, Java.Type[]) - Constructor for class org.codehaus.janino.Java.LocalClassDeclaration
-
- Java.LocalClassDeclarationStatement - Class in org.codehaus.janino
-
- Java.LocalClassDeclarationStatement(Java.LocalClassDeclaration) - Constructor for class org.codehaus.janino.Java.LocalClassDeclarationStatement
-
- Java.LocalVariable - Class in org.codehaus.janino
-
Used during resolution.
- Java.LocalVariable(boolean, IClass) - Constructor for class org.codehaus.janino.Java.LocalVariable
-
- Java.LocalVariableAccess - Class in org.codehaus.janino
-
Representation of a local variable access -- used during compilation.
- Java.LocalVariableAccess(Location, Java.LocalVariable) - Constructor for class org.codehaus.janino.Java.LocalVariableAccess
-
- Java.LocalVariableDeclarationStatement - Class in org.codehaus.janino
-
- Java.LocalVariableDeclarationStatement(Location, short, Java.Type, Java.VariableDeclarator[]) - Constructor for class org.codehaus.janino.Java.LocalVariableDeclarationStatement
-
- Java.LocalVariableSlot - Class in org.codehaus.janino
-
All local variables have a slot number, local variables that get written into the localvariabletable
also have a start and end offset that defines the variable's extent in the bytecode.
- Java.LocalVariableSlot(String, short, IClass) - Constructor for class org.codehaus.janino.Java.LocalVariableSlot
-
- Java.Locatable - Interface in org.codehaus.janino
-
This interface is implemented by objects which are associated with a
location in the source code.
- Java.Located - Class in org.codehaus.janino
-
- Java.Located(Location) - Constructor for class org.codehaus.janino.Java.Located
-
- Java.Lvalue - Class in org.codehaus.janino
-
Representation of an "lvalue", i.e.
- Java.Lvalue(Location) - Constructor for class org.codehaus.janino.Java.Lvalue
-
- Java.MemberClassDeclaration - Class in org.codehaus.janino
-
- Java.MemberClassDeclaration(Location, String, short, String, Java.Type, Java.Type[]) - Constructor for class org.codehaus.janino.Java.MemberClassDeclaration
-
- Java.MemberInterfaceDeclaration - Class in org.codehaus.janino
-
- Java.MemberInterfaceDeclaration(Location, String, short, String, Java.Type[]) - Constructor for class org.codehaus.janino.Java.MemberInterfaceDeclaration
-
- Java.MemberTypeDeclaration - Interface in org.codehaus.janino
-
Represents a class or interface declaration where the immediately enclosing scope is
another class or interface declaration.
- Java.MethodDeclarator - Class in org.codehaus.janino
-
- Java.MethodDeclarator(Location, String, short, Java.Type, String, Java.FunctionDeclarator.FormalParameter[], Java.Type[], List) - Constructor for class org.codehaus.janino.Java.MethodDeclarator
-
- Java.MethodInvocation - Class in org.codehaus.janino
-
- Java.MethodInvocation(Location, Java.Atom, String, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.MethodInvocation
-
- Java.NamedClassDeclaration - Class in org.codehaus.janino
-
- Java.NamedClassDeclaration(Location, String, short, String, Java.Type, Java.Type[]) - Constructor for class org.codehaus.janino.Java.NamedClassDeclaration
-
- Java.NamedTypeDeclaration - Interface in org.codehaus.janino
-
Represents the declaration of a class or an interface that has a name.
- Java.NewAnonymousClassInstance - Class in org.codehaus.janino
-
- Java.NewAnonymousClassInstance(Location, Java.Rvalue, Java.AnonymousClassDeclaration, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.NewAnonymousClassInstance
-
- Java.NewArray - Class in org.codehaus.janino
-
- Java.NewArray(Location, Java.Type, Java.Rvalue[], int) - Constructor for class org.codehaus.janino.Java.NewArray
-
Create a new array with dimension dimExprs.length + dims
- Java.NewClassInstance - Class in org.codehaus.janino
-
- Java.NewClassInstance(Location, Java.Rvalue, Java.Type, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.NewClassInstance
-
- Java.NewClassInstance(Location, Java.Rvalue, IClass, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.NewClassInstance
-
- Java.NewInitializedArray - Class in org.codehaus.janino
-
- Java.NewInitializedArray(Location, Java.ArrayType, Java.ArrayInitializer) - Constructor for class org.codehaus.janino.Java.NewInitializedArray
-
- Java.Package - Class in org.codehaus.janino
-
- Java.Package(Location, String) - Constructor for class org.codehaus.janino.Java.Package
-
- Java.PackageDeclaration - Class in org.codehaus.janino
-
Represents a package declaration like
- Java.PackageDeclaration(Location, String) - Constructor for class org.codehaus.janino.Java.PackageDeclaration
-
- Java.PackageMemberClassDeclaration - Class in org.codehaus.janino
-
- Java.PackageMemberClassDeclaration(Location, String, short, String, Java.Type, Java.Type[]) - Constructor for class org.codehaus.janino.Java.PackageMemberClassDeclaration
-
- Java.PackageMemberInterfaceDeclaration - Class in org.codehaus.janino
-
- Java.PackageMemberInterfaceDeclaration(Location, String, short, String, Java.Type[]) - Constructor for class org.codehaus.janino.Java.PackageMemberInterfaceDeclaration
-
- Java.PackageMemberTypeDeclaration - Interface in org.codehaus.janino
-
Represents a class or interface declaration on compilation unit level.
- Java.ParameterAccess - Class in org.codehaus.janino
-
- Java.ParameterAccess(Location, Java.FunctionDeclarator.FormalParameter) - Constructor for class org.codehaus.janino.Java.ParameterAccess
-
- Java.ParenthesizedExpression - Class in org.codehaus.janino
-
- Java.ParenthesizedExpression(Location, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.ParenthesizedExpression
-
- Java.QualifiedThisReference - Class in org.codehaus.janino
-
Representation of an access to the current object or an enclosing instance.
- Java.QualifiedThisReference(Location, Java.Type) - Constructor for class org.codehaus.janino.Java.QualifiedThisReference
-
Access the given enclosing instance of the declaring class.
- Java.ReferenceType - Class in org.codehaus.janino
-
- Java.ReferenceType(Location, String[]) - Constructor for class org.codehaus.janino.Java.ReferenceType
-
- Java.ReturnStatement - Class in org.codehaus.janino
-
- Java.ReturnStatement(Location, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.ReturnStatement
-
- Java.Rvalue - Class in org.codehaus.janino
-
Representation of an "rvalue", i.e.
- Java.Rvalue(Location) - Constructor for class org.codehaus.janino.Java.Rvalue
-
- Java.RvalueMemberType - Class in org.codehaus.janino
-
- Java.RvalueMemberType(Location, Java.Rvalue, String) - Constructor for class org.codehaus.janino.Java.RvalueMemberType
-
Notice: The rvalue
is not a subordinate object!
- Java.Scope - Interface in org.codehaus.janino
-
- Java.SimpleType - Class in org.codehaus.janino
-
- Java.SimpleType(Location, IClass) - Constructor for class org.codehaus.janino.Java.SimpleType
-
- Java.Statement - Class in org.codehaus.janino
-
- Java.Statement(Location) - Constructor for class org.codehaus.janino.Java.Statement
-
- Java.SuperclassFieldAccessExpression - Class in org.codehaus.janino
-
Representation of "super.fld" and "Type.super.fld".
- Java.SuperclassFieldAccessExpression(Location, Java.Type, String) - Constructor for class org.codehaus.janino.Java.SuperclassFieldAccessExpression
-
- Java.SuperclassMethodInvocation - Class in org.codehaus.janino
-
- Java.SuperclassMethodInvocation(Location, String, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.SuperclassMethodInvocation
-
- Java.SuperConstructorInvocation - Class in org.codehaus.janino
-
- Java.SuperConstructorInvocation(Location, Java.Rvalue, Java.Rvalue[]) - Constructor for class org.codehaus.janino.Java.SuperConstructorInvocation
-
- Java.SwitchStatement - Class in org.codehaus.janino
-
14.10 The "switch" Statement
- Java.SwitchStatement(Location, Java.Rvalue, List) - Constructor for class org.codehaus.janino.Java.SwitchStatement
-
- Java.SwitchStatement.SwitchBlockStatementGroup - Class in org.codehaus.janino
-
- Java.SwitchStatement.SwitchBlockStatementGroup(Location, List, boolean, List) - Constructor for class org.codehaus.janino.Java.SwitchStatement.SwitchBlockStatementGroup
-
- Java.SynchronizedStatement - Class in org.codehaus.janino
-
- Java.SynchronizedStatement(Location, Java.Rvalue, Java.BlockStatement) - Constructor for class org.codehaus.janino.Java.SynchronizedStatement
-
- Java.ThisReference - Class in org.codehaus.janino
-
Representation of an access to the innermost enclosing instance.
- Java.ThisReference(Location) - Constructor for class org.codehaus.janino.Java.ThisReference
-
Access the declaring class.
- Java.ThrowStatement - Class in org.codehaus.janino
-
- Java.ThrowStatement(Location, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.ThrowStatement
-
- Java.TryStatement - Class in org.codehaus.janino
-
- Java.TryStatement(Location, Java.BlockStatement, List, Java.Block) - Constructor for class org.codehaus.janino.Java.TryStatement
-
- Java.Type - Class in org.codehaus.janino
-
Representation of a Java™ type.
- Java.Type(Location) - Constructor for class org.codehaus.janino.Java.Type
-
- Java.TypeBodyDeclaration - Interface in org.codehaus.janino
-
Representation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration".
- Java.TypeDeclaration - Interface in org.codehaus.janino
-
- Java.UnaryOperation - Class in org.codehaus.janino
-
This class implements the unary operators "+", "-", "~" and "!".
- Java.UnaryOperation(Location, String, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.UnaryOperation
-
- Java.VariableDeclarator - Class in org.codehaus.janino
-
Used by FieldDeclaration and LocalVariableDeclarationStatement.
- Java.VariableDeclarator(Location, String, int, Java.ArrayInitializerOrRvalue) - Constructor for class org.codehaus.janino.Java.VariableDeclarator
-
- Java.WhileStatement - Class in org.codehaus.janino
-
- Java.WhileStatement(Location, Java.Rvalue, Java.BlockStatement) - Constructor for class org.codehaus.janino.Java.WhileStatement
-
- JavaFileManagerClassLoader - Class in org.codehaus.commons.compiler.jdk
-
- JavaFileManagerClassLoader(JavaFileManager) - Constructor for class org.codehaus.commons.compiler.jdk.JavaFileManagerClassLoader
-
- JavaFileManagerClassLoader(JavaFileManager, ClassLoader) - Constructor for class org.codehaus.commons.compiler.jdk.JavaFileManagerClassLoader
-
- JavaSourceClassLoader - Class in org.codehaus.commons.compiler.jdk
-
- JavaSourceClassLoader() - Constructor for class org.codehaus.commons.compiler.jdk.JavaSourceClassLoader
-
- JavaSourceClassLoader(ClassLoader) - Constructor for class org.codehaus.commons.compiler.jdk.JavaSourceClassLoader
-
- JavaSourceClassLoader - Class in org.codehaus.janino
-
A ClassLoader
that, unlike usual ClassLoader
s,
does not load byte code, but reads Java™ source code and then scans, parses,
compiles and loads it into the virtual machine.
- JavaSourceClassLoader() - Constructor for class org.codehaus.janino.JavaSourceClassLoader
-
- JavaSourceClassLoader(ClassLoader) - Constructor for class org.codehaus.janino.JavaSourceClassLoader
-
- JavaSourceClassLoader(ClassLoader, File[], String) - Constructor for class org.codehaus.janino.JavaSourceClassLoader
-
Set up a
JavaSourceClassLoader
that finds Java™ source code in a file
that resides in either of the directories specified by the given source path.
- JavaSourceClassLoader(ClassLoader, ResourceFinder, String) - Constructor for class org.codehaus.janino.JavaSourceClassLoader
-
- JavaSourceClassLoader.DiagnosticException - Exception in org.codehaus.commons.compiler.jdk
-
- JavaSourceClassLoader.DiagnosticException(String) - Constructor for exception org.codehaus.commons.compiler.jdk.JavaSourceClassLoader.DiagnosticException
-
- JavaSourceClassLoader.DiagnosticException(Throwable) - Constructor for exception org.codehaus.commons.compiler.jdk.JavaSourceClassLoader.DiagnosticException
-
- JavaSourceClassLoader.DiagnosticException(Diagnostic<? extends JavaFileObject>) - Constructor for exception org.codehaus.commons.compiler.jdk.JavaSourceClassLoader.DiagnosticException
-
- JavaSourceIClassLoader - Class in org.codehaus.janino
-
This
IClassLoader
finds, scans and parses compilation units.
- JavaSourceIClassLoader(ResourceFinder, String, Set, IClassLoader) - Constructor for class org.codehaus.janino.JavaSourceIClassLoader
-
Notice that the
unitCompilers
set is both read and written
by the
JavaSourceIClassLoader
: As it searches for
IClass
es, it looks
into
unitCompilers
for class declarations, and as it opens,
scans and parses compilation units on-the-fly, it adds them to
unitCompilers
.
- JGrep - Class in org.codehaus.janino.tools
-
Reads a set of compilation units from the file system and searches it for specific
Java™ constructs, e.g.
- JGrep(File[], File[], File[], String, boolean) - Constructor for class org.codehaus.janino.tools.JGrep
-
- JGrep(IClassLoader, String, boolean) - Constructor for class org.codehaus.janino.tools.JGrep
-
- jGrep(File[], StringPattern[], StringPattern[], List) - Method in class org.codehaus.janino.tools.JGrep
-
- jGrep(Iterator, List) - Method in class org.codehaus.janino.tools.JGrep
-
- JGrep.MethodInvocationAction - Interface in org.codehaus.janino.tools
-
- JGrep.MethodInvocationPredicate - Interface in org.codehaus.janino.tools
-
- join(Object[], String) - Static method in class org.codehaus.janino.Java
-
- join(Object[], String, int, int) - Static method in class org.codehaus.janino.Java
-
- JUMP_IF_FALSE - Static variable in class org.codehaus.janino.Java.Rvalue
-
- JUMP_IF_TRUE - Static variable in class org.codehaus.janino.Java.Rvalue
-
- MAGIC_INTEGER - Static variable in class org.codehaus.janino.Scanner
-
This reference represents the "magic" literal "2147483648" which is only
allowed in a negated context.
- MAGIC_LONG - Static variable in class org.codehaus.janino.Scanner
-
This reference represents the "magic" literal "9223372036854775808L" which is only
allowed in a negated context.
- main(String[]) - Static method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
-
Read Java™ source code for a given class name, scan, parse, compile and load it into the virtual machine,
and invoke its "main()" method with the given arguments.
- main(String[]) - Static method in class org.codehaus.commons.compiler.samples.ClassBodyDemo
-
- main(String[]) - Static method in class org.codehaus.commons.compiler.samples.ExpressionDemo
-
- main(String[]) - Static method in class org.codehaus.commons.compiler.samples.ScriptDemo
-
- main(String[]) - Static method in class org.codehaus.commons.compiler.samples.ShippingCost
-
- main(String[]) - Static method in class org.codehaus.janino.Compiler
-
Command line interface.
- main(String[]) - Static method in class org.codehaus.janino.samples.DeclarationCounter
-
- main(String[]) - Static method in class org.codehaus.janino.SimpleCompiler
-
- main(String[]) - Static method in class org.codehaus.janino.tools.Disassembler
-
Usage:
- main(String[]) - Static method in class org.codehaus.janino.tools.HprofScrubber
-
- main(String[]) - Static method in class org.codehaus.janino.tools.JGrep
-
Command line interface.
- main(String[]) - Static method in class org.codehaus.janino.UnicodeUnescapeReader
-
Simple unit testing.
- main(String[]) - Static method in class org.codehaus.janino.UnparseVisitor
-
Testing of parsing/unparsing.
- MAJOR_VERSION_JDK_1_1 - Static variable in class org.codehaus.janino.util.ClassFile
-
- MAJOR_VERSION_JDK_1_2 - Static variable in class org.codehaus.janino.util.ClassFile
-
- MAJOR_VERSION_JDK_1_3 - Static variable in class org.codehaus.janino.util.ClassFile
-
- MAJOR_VERSION_JDK_1_4 - Static variable in class org.codehaus.janino.util.ClassFile
-
- MAJOR_VERSION_JDK_1_5 - Static variable in class org.codehaus.janino.util.ClassFile
-
- makeCompilationUnit(Scanner) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- makeMethodDeclaration(Location, boolean, Class, String, Class[], String[], Class[], List) - Method in class org.codehaus.janino.ScriptEvaluator
-
To the given
Java.ClassDeclaration
, add
A public method declaration with the given return type, name, parameter
names and values and thrown exceptions
A block
- makeSpace(short, int) - Method in class org.codehaus.janino.CodeContext
-
Add space for size bytes at current offset.
- makeStatements(int, Scanner) - Method in class org.codehaus.janino.ExpressionEvaluator
-
- makeStatements(int, Scanner) - Method in class org.codehaus.janino.ScriptEvaluator
-
Fill the given block
by parsing statements until EOF and adding
them to the block.
- MapResourceCreator - Class in org.codehaus.janino.util.resource
-
Creates resources as byte arrays in a delegate Map
.
- MapResourceCreator() - Constructor for class org.codehaus.janino.util.resource.MapResourceCreator
-
Auto-create the delegate Map
.
- MapResourceCreator(Map) - Constructor for class org.codehaus.janino.util.resource.MapResourceCreator
-
- MapResourceFinder - Class in org.codehaus.janino.util.resource
-
A
ResourceFinder
that provides access
to resource stored as byte arrays in a
Map
.
- MapResourceFinder(Map) - Constructor for class org.codehaus.janino.util.resource.MapResourceFinder
-
- matches(String) - Method in class org.codehaus.janino.util.StringPattern
-
Match the given text
against the pattern represented by the current instance,
as follows:
A *
in the pattern matches any sequence of zero or more characters in the
text
A ?
in the pattern matches exactly one character in the text
Any other character in the pattern must appear exactly as it is in the text
Notice: The mode
flag of the current instance does not take any effect here.
- matches(StringPattern[], String) - Static method in class org.codehaus.janino.util.StringPattern
-
- MethodDescriptor - Class in org.codehaus.janino
-
Representation of a "method descriptor" (JVMS 4.3.3).
- MethodDescriptor(String[], String) - Constructor for class org.codehaus.janino.MethodDescriptor
-
- MethodDescriptor(String) - Constructor for class org.codehaus.janino.MethodDescriptor
-
Parse a method descriptor into parameter FDs and return FDs.
- methodInfos - Variable in class org.codehaus.janino.util.ClassFile
-
- methodName - Variable in class org.codehaus.janino.Java.Invocation
-
- mhs - Variable in class org.codehaus.janino.Java.ConditionalExpression
-
- MINOR_VERSION_JDK_1_1 - Static variable in class org.codehaus.janino.util.ClassFile
-
- MINOR_VERSION_JDK_1_2 - Static variable in class org.codehaus.janino.util.ClassFile
-
- MINOR_VERSION_JDK_1_3 - Static variable in class org.codehaus.janino.util.ClassFile
-
- MINOR_VERSION_JDK_1_4 - Static variable in class org.codehaus.janino.util.ClassFile
-
- MINOR_VERSION_JDK_1_5 - Static variable in class org.codehaus.janino.util.ClassFile
-
- Mod - Class in org.codehaus.janino
-
This class defines constants and convenience methods for the handling of modifiers as defined by the JVM.
- modifiers - Variable in class org.codehaus.janino.Java.FieldDeclaration
-
- modifiers - Variable in class org.codehaus.janino.Java.FunctionDeclarator
-
- modifiers - Variable in class org.codehaus.janino.Java.LocalVariableDeclarationStatement
-
- MultiDimensionalIterator - Class in org.codehaus.janino.util.iterator
-
An Iterator
that iterates over a delegate, which produces
arrays, Collection
s, Enumeration
s or
Iterator
s.
- MultiDimensionalIterator(Iterator, int) - Constructor for class org.codehaus.janino.util.iterator.MultiDimensionalIterator
-
- MultiIterator - Class in org.codehaus.janino.util
-
An Iterator
that traverses a Collection
of
Iterator
s.
- MultiIterator(Iterator[]) - Constructor for class org.codehaus.janino.util.MultiIterator
-
- MultiIterator(Collection[]) - Constructor for class org.codehaus.janino.util.MultiIterator
-
- MultiIterator(Object[][]) - Constructor for class org.codehaus.janino.util.MultiIterator
-
- MultiIterator(Collection) - Constructor for class org.codehaus.janino.util.MultiIterator
-
- MultiIterator(Iterator) - Constructor for class org.codehaus.janino.util.MultiIterator
-
- MultiIterator(Object[]) - Constructor for class org.codehaus.janino.util.MultiIterator
-
- MultiIterator(Object, Collection) - Constructor for class org.codehaus.janino.util.MultiIterator
-
Iterates over the given Collection
, prepended with the given Object
.
- MultiIterator(Collection, Object) - Constructor for class org.codehaus.janino.util.MultiIterator
-
Iterates over the given Collection
, appended with the given Object
.
- MultiIterator(Object, Iterator) - Constructor for class org.codehaus.janino.util.MultiIterator
-
Iterates over the given Iterator
, prepended with the given prefix
.
- MultiIterator(Iterator, Object) - Constructor for class org.codehaus.janino.util.MultiIterator
-
Iterates over the given Iterator
, appended with the given suffix
.
- MultiReader - Class in org.codehaus.commons.io
-
Similar to FilterReader
, but when the first delegate is at end-of-input, it continues
with reading from the next delegate.
- MultiReader(List<Reader>) - Constructor for class org.codehaus.commons.io.MultiReader
-
- MultiReader(Reader[]) - Constructor for class org.codehaus.commons.io.MultiReader
-
- MultiResourceFinder - Class in org.codehaus.janino.util.resource
-
- MultiResourceFinder(Collection) - Constructor for class org.codehaus.janino.util.resource.MultiResourceFinder
-
- PACKAGE - Static variable in class org.codehaus.janino.Mod
-
- packageMemberTypeDeclarations - Variable in class org.codehaus.janino.Java.CompilationUnit
-
- packageName - Variable in class org.codehaus.janino.Java.PackageDeclaration
-
- parameterFDs - Variable in class org.codehaus.janino.MethodDescriptor
-
The field descriptors of the method parameters.
- parseAdditiveExpression() - Method in class org.codehaus.janino.Parser
-
AdditiveExpression :=
MultiplicativeExpression { ( '+' | '-' ) MultiplicativeExpression }
- parseAndExpression() - Method in class org.codehaus.janino.Parser
-
AndExpression :=
EqualityExpression { '&' EqualityExpression }
- parseArgumentList() - Method in class org.codehaus.janino.Parser
-
ArgumentList := Expression { ',' Expression }
- parseArguments() - Method in class org.codehaus.janino.Parser
-
Arguments := '(' [ ArgumentList ] ')'
- parseArrayInitializer() - Method in class org.codehaus.janino.Parser
-
ArrayInitializer :=
'{' [ VariableInitializer { ',' VariableInitializer } [ ',' ] '}'
- parseAssignmentExpression() - Method in class org.codehaus.janino.Parser
-
AssignmentExpression :=
ConditionalExpression [ AssignmentOperator AssignmentExpression ]
AssignmentOperator :=
'=' | '*=' | '/=' | '%=' | '+=' | '-=' | '<<=' |
'>>=' | '>>>=' | '&=' | '^=' | '|='
- parseBlock() - Method in class org.codehaus.janino.Parser
-
'{' BlockStatements '}'
- parseBlockStatement() - Method in class org.codehaus.janino.Parser
-
BlockStatement := { Identifier ':' } (
( Modifiers Type | ModifiersOpt BasicType ) LocalVariableDeclarators ';' |
'class' ...
- parseBlockStatements() - Method in class org.codehaus.janino.Parser
-
BlockStatements := { BlockStatement }
- parseBreakStatement() - Method in class org.codehaus.janino.Parser
-
BreakStatement := 'break' [ Identifier ] ';'
- parseClassBody(Java.ClassDeclaration) - Method in class org.codehaus.janino.Parser
-
ClassBody := '{' { ClassBodyDeclaration } '}'
- parseClassBodyDeclaration(Java.ClassDeclaration) - Method in class org.codehaus.janino.Parser
-
ClassBodyDeclaration :=
';' |
ModifiersOpt (
Block | // Instance (JLS2 8.6) or static initializer (JLS2 8.7)
'void' Identifier MethodDeclarationRest |
'class' ClassDeclarationRest |
'interface' InterfaceDeclarationRest |
ConstructorDeclarator |
Type Identifier (
MethodDeclarationRest |
FieldDeclarationRest ';'
)
)
- parseClassDeclarationRest(String, short, Parser.ClassDeclarationContext) - Method in class org.codehaus.janino.Parser
-
ClassDeclarationRest :=
Identifier
[ 'extends' ReferenceType ]
[ 'implements' ReferenceTypeList ]
ClassBody
- parseCombinedPattern(String) - Static method in class org.codehaus.janino.util.StringPattern
-
- parseCompilationUnit() - Method in class org.codehaus.janino.Parser
-
CompilationUnit := [ PackageDeclaration ]
{ ImportDeclaration }
{ TypeDeclaration }
- parseConditionalAndExpression() - Method in class org.codehaus.janino.Parser
-
ConditionalAndExpression :=
InclusiveOrExpression { '&&' InclusiveOrExpression }
- parseConditionalExpression() - Method in class org.codehaus.janino.Parser
-
ConditionalExpression :=
ConditionalOrExpression [ '?' Expression ':' ConditionalExpression ]
- parseConditionalOrExpression() - Method in class org.codehaus.janino.Parser
-
ConditionalOrExpression :=
ConditionalAndExpression { '||' ConditionalAndExpression ]
- parseConstructorDeclarator(String, short) - Method in class org.codehaus.janino.Parser
-
ConstructorDeclarator :=
Identifier
FormalParameters
[ 'throws' ReferenceTypeList ]
'{'
[ 'this' Arguments ';' | 'super' Arguments ';' | Primary '.' 'super' Arguments ';' ]
BlockStatements
'}'
- parseContinueStatement() - Method in class org.codehaus.janino.Parser
-
ContinueStatement := 'continue' [ Identifier ] ';'
- parseDimExpr() - Method in class org.codehaus.janino.Parser
-
DimExpr := '[' Expression ']'
- parseDimExprs() - Method in class org.codehaus.janino.Parser
-
DimExprs := DimExpr { DimExpr }
- parseDoStatement() - Method in class org.codehaus.janino.Parser
-
DoStatement := 'do' Statement 'while' '(' Expression ')' ';'
- parseEmptyStatement() - Method in class org.codehaus.janino.Parser
-
EmptyStatement := ';'
- parseEqualityExpression() - Method in class org.codehaus.janino.Parser
-
EqualityExpression :=
RelationalExpression { ( '==' | '!=' ) RelationalExpression }
- parseExclusiveOrExpression() - Method in class org.codehaus.janino.Parser
-
ExclusiveOrExpression :=
AndExpression { '^' AndExpression }
- parseExpression() - Method in class org.codehaus.janino.Parser
-
Expression := AssignmentExpression
- parseExpressionList() - Method in class org.codehaus.janino.Parser
-
ExpressionList := Expression { ',' Expression }
- parseExpressionStatement() - Method in class org.codehaus.janino.Parser
-
ExpressionStatement := Expression ';'
- parseFieldDeclarationRest(String) - Method in class org.codehaus.janino.Parser
-
FieldDeclarationRest :=
VariableDeclaratorRest
{ ',' VariableDeclarator }
- parseFormalParameter() - Method in class org.codehaus.janino.Parser
-
FormalParameter := [ 'final' ] Type Identifier BracketsOpt
- parseFormalParameters() - Method in class org.codehaus.janino.Parser
-
FormalParameters := '(' [ FormalParameter { ',' FormalParameter } ] ')'
- parseForStatement() - Method in class org.codehaus.janino.Parser
-
ForStatement :=
'for' '('
[ ForInit ] ';'
[ Expression ] ';'
[ ExpressionList ]
')' Statement
- parseIfStatement() - Method in class org.codehaus.janino.Parser
-
IfStatement := 'if' '(' Expression ')' Statement [ 'else' Statement ]
- parseImportDeclaration() - Method in class org.codehaus.janino.Parser
-
ImportDeclaration := 'import' ImportDeclarationBody ';'
- parseImportDeclarationBody() - Method in class org.codehaus.janino.Parser
-
ImportDeclarationBody := [ 'static' ] Identifier { '.' Identifier } [ '.' '*' ]
- parseImportDeclarations(Reader) - Static method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
Heuristically parse IMPORT declarations at the beginning of the character stream produced
by the given Reader
.
- parseInclusiveOrExpression() - Method in class org.codehaus.janino.Parser
-
InclusiveOrExpression :=
ExclusiveOrExpression { '|' ExclusiveOrExpression }
- parseInterfaceBody(Java.InterfaceDeclaration) - Method in class org.codehaus.janino.Parser
-
InterfaceBody := '{' {
';' |
ModifiersOpt (
'void' Identifier MethodDeclarationRest |
'class' ClassDeclarationRest |
'interface' InterfaceDeclarationRest |
Type Identifier (
MethodDeclarationRest |
FieldDeclarationRest
)
)
} '}'
- parseInterfaceDeclarationRest(String, short, Parser.InterfaceDeclarationContext) - Method in class org.codehaus.janino.Parser
-
InterfaceDeclarationRest :=
Identifier
[ 'extends' ReferenceTypeList ]
InterfaceBody
- parseLabeledStatement() - Method in class org.codehaus.janino.Parser
-
LabeledStatement := Identifier ':' Statement
- parseLiteral() - Method in class org.codehaus.janino.Parser
-
- parseLocalVariableDeclarators() - Method in class org.codehaus.janino.Parser
-
LocalVariableDeclarators := VariableDeclarator { ',' VariableDeclarator }
- parseMethodBody() - Method in class org.codehaus.janino.Parser
-
MethodBody := Block
- parseMethodDeclarationRest(String, short, Java.Type, String) - Method in class org.codehaus.janino.Parser
-
MethodDeclarationRest :=
FormalParameters
{ '[' ']' }
[ 'throws' ReferenceTypeList ]
( ';' | MethodBody )
- parseModifiersOpt() - Method in class org.codehaus.janino.Parser
-
ModifiersOpt := { 'public' | 'protected' | 'private' | 'static' |
'abstract' | 'final' | 'native' | 'synchronized' |
'transient' | 'volatile' | 'strictfp'
- parseMultiplicativeExpression() - Method in class org.codehaus.janino.Parser
-
MultiplicativeExpression :=
UnaryExpression { ( '*' | '/' | '%' ) UnaryExpression }
- parsePackageDeclaration() - Method in class org.codehaus.janino.Parser
-
PackageDeclaration := 'package' QualifiedIdentifier ';'
- parsePackageMemberTypeDeclaration() - Method in class org.codehaus.janino.Parser
-
PackageMemberTypeDeclaration :=
ModifiersOpt 'class' ClassDeclarationRest |
ModifiersOpt 'interface' InterfaceDeclarationRest
- parsePath(String) - Static method in class org.codehaus.janino.util.resource.PathResourceFinder
-
Break a given string up by the system-dependent path-separator character (on UNIX systems,
this character is ':'; on Microsoft Windows systems it is ';').
- parsePrimary() - Method in class org.codehaus.janino.Parser
-
Primary :=
CastExpression | // CastExpression 15.16
'(' Expression ')' | // ParenthesizedExpression 15.8.5
Literal | // Literal 15.8.1
Name | // AmbiguousName
Name Arguments | // MethodInvocation
Name '[]' { '[]' } | // ArrayType 10.1
Name '[]' { '[]' } '.' 'class' | // ClassLiteral 15.8.2
'this' | // This 15.8.3
'this' Arguments | // Alternate constructor invocation 8.8.5.1
'super' Arguments | // Unqualified superclass constructor invocation 8.8.5.1
'super' '.' Identifier | // SuperclassFieldAccess 15.11.2
'super' '.' Identifier Arguments | // SuperclassMethodInvocation 15.12.4.9
NewClassInstance |
NewAnonymousClassInstance | // ClassInstanceCreationExpression 15.9
NewArray | // ArrayCreationExpression 15.10
NewInitializedArray | // ArrayInitializer 10.6
BasicType { '[]' } | // Type
BasicType { '[]' } '.' 'class' | // ClassLiteral 15.8.2
'void' '.' 'class' // ClassLiteral 15.8.2
CastExpression :=
'(' PrimitiveType { '[]' } ')' UnaryExpression |
'(' Expression ')' UnaryExpression
NewClassInstance := 'new' ReferenceType Arguments
NewAnonymousClassInstance := 'new' ReferenceType Arguments [ ClassBody ]
NewArray := 'new' Type DimExprs { '[]' }
NewInitializedArray := 'new' ArrayType ArrayInitializer
- parseQualifiedIdentifier() - Method in class org.codehaus.janino.Parser
-
QualifiedIdentifier := Identifier { '.' Identifier }
- Parser - Class in org.codehaus.janino
-
A parser for the Java™ programming language.
- Parser(Scanner) - Constructor for class org.codehaus.janino.Parser
-
- Parser.ClassDeclarationContext - Class in org.codehaus.janino
-
- Parser.InterfaceDeclarationContext - Class in org.codehaus.janino
-
- parseReferenceType() - Method in class org.codehaus.janino.Parser
-
ReferenceType := QualifiedIdentifier
- parseReferenceTypeList() - Method in class org.codehaus.janino.Parser
-
ReferenceTypeList := ReferenceType { ',' ReferenceType }
- parseRelationalExpression() - Method in class org.codehaus.janino.Parser
-
RelationalExpression :=
ShiftExpression {
( ( '<' | '>' | '<=' | '>=' ) ShiftExpression ) |
( 'instanceof' ReferenceType )
}
- parseReturnStatement() - Method in class org.codehaus.janino.Parser
-
ReturnStatement := 'return' [ Expression ] ';'
- parseSelector(Java.Atom) - Method in class org.codehaus.janino.Parser
-
Selector :=
'.' Identifier | // FieldAccess 15.11.1
'.' Identifier Arguments | // MethodInvocation
'.' 'this' // QualifiedThis 15.8.4
'.' 'super' Arguments // Qualified superclass constructor invocation (JLS 8.8.5.1)
'.' 'super' '.' Identifier | // SuperclassFieldReference (JLS 15.11.2)
'.' 'super' '.' Identifier Arguments | // SuperclassMethodInvocation (JLS 15.12.4.9)
'.' 'new' Identifier Arguments [ ClassBody ] | // QualifiedClassInstanceCreationExpression 15.9
'.' 'class'
'[' Expression ']' // ArrayAccessExpression 15.13
- parseShiftExpression() - Method in class org.codehaus.janino.Parser
-
ShiftExpression :=
AdditiveExpression { ( '<<' | '>>' | '>>>' ) AdditiveExpression }
- parseStatement() - Method in class org.codehaus.janino.Parser
-
Statement :=
LabeledStatement |
Block |
IfStatement |
ForStatement |
WhileStatement |
DoStatement |
TryStatement |
'switch' ...
- parseSwitchStatement() - Method in class org.codehaus.janino.Parser
-
SwitchStatement :=
'switch' '(' Expression ')' '{' { SwitchLabels BlockStatements } '}'
SwitchLabels := SwitchLabels { SwitchLabels }
SwitchLabel := 'case' Expression ':' | 'default' ':'
- parseSynchronizedStatement() - Method in class org.codehaus.janino.Parser
-
SynchronizedStatement :=
'synchronized' '(' expression ')' Block
- parseThrowStatement() - Method in class org.codehaus.janino.Parser
-
ThrowStatement := 'throw' Expression ';'
- parseTryStatement() - Method in class org.codehaus.janino.Parser
-
TryStatement :=
'try' Block Catches [ Finally ] |
'try' Block Finally
Catches := CatchClause { CatchClause }
CatchClause := 'catch' '(' FormalParameter ')' Block
Finally := 'finally' Block
- parseType() - Method in class org.codehaus.janino.Parser
-
Type := (
'byte' | 'short' | 'char' | 'int' | 'long' |
'float' | 'double' | 'boolean' |
ReferenceType
) { '[' ']' }
- parseUnaryExpression() - Method in class org.codehaus.janino.Parser
-
UnaryExpression :=
{ PrefixOperator } Primary { Selector } { PostfixOperator }
PrefixOperator := '++' | '--' | '+' | '-' | '~' | '!'
PostfixOperator := '++' | '--'
- parseVariableDeclarator() - Method in class org.codehaus.janino.Parser
-
VariableDeclarator := Identifier VariableDeclaratorRest
- parseVariableDeclaratorRest(String) - Method in class org.codehaus.janino.Parser
-
VariableDeclaratorRest := { '[' ']' } [ '=' VariableInitializer ]
- parseVariableInitializer() - Method in class org.codehaus.janino.Parser
-
VariableInitializer :=
ArrayInitializer |
Expression
- parseWhileStatement() - Method in class org.codehaus.janino.Parser
-
WhileStatement := 'while' '(' Expression ')' Statement
- PathResourceFinder - Class in org.codehaus.janino.util.resource
-
A
ResourceFinder
that finds its resources along a "path"
consisting of JAR file names, ZIP file names, and directory names.
- PathResourceFinder(File[]) - Constructor for class org.codehaus.janino.util.resource.PathResourceFinder
-
- PathResourceFinder(Iterator) - Constructor for class org.codehaus.janino.util.resource.PathResourceFinder
-
- PathResourceFinder(String) - Constructor for class org.codehaus.janino.util.resource.PathResourceFinder
-
- PATTERNS_ALL - Static variable in class org.codehaus.janino.util.StringPattern
-
- PATTERNS_NONE - Static variable in class org.codehaus.janino.util.StringPattern
-
- peek() - Method in class org.codehaus.janino.Scanner
-
Peek the next token, but don't remove it from the input.
- peekIdentifier() - Method in class org.codehaus.janino.Parser
-
- peekKeyword() - Method in class org.codehaus.janino.Parser
-
- peekKeyword(String) - Method in class org.codehaus.janino.Parser
-
- peekKeyword(String[]) - Method in class org.codehaus.janino.Parser
-
- peekNextButOne() - Method in class org.codehaus.janino.Scanner
-
Peek the next but one token, neither remove the next nor the next but one token from the
input.
- peekOperator(String) - Method in class org.codehaus.janino.Parser
-
- peekOperator(String[]) - Method in class org.codehaus.janino.Parser
-
- popInserter() - Method in class org.codehaus.janino.CodeContext
-
- postConstruct() - Method in class org.codehaus.janino.IClassLoader
-
This method must be called by the constructor of the directly derived
class.
- PPP - Static variable in class org.codehaus.janino.Mod
-
- pre - Variable in class org.codehaus.janino.Java.Crement
-
- prependParameter(String, String) - Static method in class org.codehaus.janino.MethodDescriptor
-
Patch an additional parameter into a given method descriptor.
- previous() - Method in class org.codehaus.janino.util.iterator.FilterListIterator
-
- previous() - Method in class org.codehaus.janino.util.iterator.ReverseListIterator
-
- previousIndex() - Method in class org.codehaus.janino.util.iterator.FilterListIterator
-
- previousIndex() - Method in class org.codehaus.janino.util.iterator.ReverseListIterator
-
Throws an UnsupportedOperationException
.
- PrimitiveWrapper - Class in org.codehaus.commons.compiler
-
A helper class that wraps primitive values in their wrapper classes.
- print() - Method in class org.codehaus.janino.tools.Disassembler.LineNumberTableAttribute
-
- printStackTrace(PrintStream) - Method in exception org.codehaus.commons.compiler.CausedException
-
- printStackTrace(PrintWriter) - Method in exception org.codehaus.commons.compiler.CausedException
-
- PRIVATE - Static variable in class org.codehaus.janino.Access
-
- PRIVATE - Static variable in class org.codehaus.janino.Mod
-
- produce() - Method in interface org.codehaus.janino.util.Producer
-
Produce the next object.
- Producer - Interface in org.codehaus.janino.util
-
- ProducerIterator - Class in org.codehaus.janino.util.iterator
-
An
Iterator
that iterates over all the objects produced by a delegate
Producer
.
- ProducerIterator(Producer) - Constructor for class org.codehaus.janino.util.iterator.ProducerIterator
-
- PROTECTED - Static variable in class org.codehaus.janino.Access
-
- PROTECTED - Static variable in class org.codehaus.janino.Mod
-
- PUBLIC - Static variable in class org.codehaus.janino.Access
-
- PUBLIC - Static variable in class org.codehaus.janino.Mod
-
- pushInserter(CodeContext.Inserter) - Method in class org.codehaus.janino.CodeContext
-
- pw - Variable in class org.codehaus.janino.UnparseVisitor
-
- saveLocalVariables() - Method in class org.codehaus.janino.CodeContext
-
Remember the current size of the local variables array.
- sbsgs - Variable in class org.codehaus.janino.Java.SwitchStatement
-
- Scanner - Class in org.codehaus.janino
-
Splits up a character stream into tokens and returns them as
String
objects.
- Scanner(String) - Constructor for class org.codehaus.janino.Scanner
-
Deprecated.
- Scanner(String, String) - Constructor for class org.codehaus.janino.Scanner
-
Deprecated.
- Scanner(File) - Constructor for class org.codehaus.janino.Scanner
-
Deprecated.
- Scanner(File, String) - Constructor for class org.codehaus.janino.Scanner
-
Deprecated.
- Scanner(String, InputStream) - Constructor for class org.codehaus.janino.Scanner
-
Set up a scanner that reads tokens from the given
InputStream
in the platform default encoding.
- Scanner(String, InputStream, String) - Constructor for class org.codehaus.janino.Scanner
-
Set up a scanner that reads tokens from the given
InputStream
with the given optionalEncoding
(null
means platform default encoding).
- Scanner(String, Reader) - Constructor for class org.codehaus.janino.Scanner
-
Set up a scanner that reads tokens from the given
Reader
.
- Scanner(String, Reader, short, short) - Constructor for class org.codehaus.janino.Scanner
-
Creates a
Scanner
that counts lines and columns from non-default initial
values.
- Scanner.EOFToken - Class in org.codehaus.janino
-
- Scanner.EOFToken() - Constructor for class org.codehaus.janino.Scanner.EOFToken
-
- Scanner.IdentifierToken - Class in org.codehaus.janino
-
- Scanner.KeywordToken - Class in org.codehaus.janino
-
- Scanner.LiteralToken - Class in org.codehaus.janino
-
The type of the
value
parameter determines the type of the literal
token:
Type/value returned by
Scanner.LiteralToken.getLiteralValue()
Literal
String
STRING literal
Character
CHAR literal
Integer
INT literal
Long
LONG literal
Float
FLOAT literal
Double
DOUBLE literal
Boolean
BOOLEAN literal
null
NULL literal
- Scanner.LiteralToken(Object) - Constructor for class org.codehaus.janino.Scanner.LiteralToken
-
- Scanner.Token - Class in org.codehaus.janino
-
- ScriptDemo - Class in org.codehaus.commons.compiler.samples
-
A test program that allows you to play around with the
ScriptEvaluator
class.
- ScriptEvaluator - Class in org.codehaus.commons.compiler.jdk
-
- ScriptEvaluator(String) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(String, Class<?>) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(String, Class<?>, String[], Class<?>[]) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(String, Class<?>, String[], Class<?>[], Class<?>[]) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(String, InputStream, Class<?>, String[], Class<?>[], Class<?>[], ClassLoader) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(String, Reader, Class<?>, String[], Class<?>[], Class<?>[], ClassLoader) - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator() - Constructor for class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- ScriptEvaluator - Class in org.codehaus.janino
-
A number of "convenience constructors" exist that execute the setup steps instantly.
- ScriptEvaluator(String) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(String, Class) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(String, Class, String[], Class[]) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(String, Class, String[], Class[], Class[]) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(String, InputStream, Class, String[], Class[], Class[], ClassLoader) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(String, Reader, Class, String[], Class[], Class[], ClassLoader) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(Scanner, Class, String[], Class[], Class[], ClassLoader) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(Scanner, Class, Class[], Class, String[], Class[], Class[], ClassLoader) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator(Scanner, String, Class, Class[], boolean, Class, String, String[], Class[], Class[], ClassLoader) - Constructor for class org.codehaus.janino.ScriptEvaluator
-
Equivalent to
- ScriptEvaluator() - Constructor for class org.codehaus.janino.ScriptEvaluator
-
- SERIALIZABLE - Static variable in class org.codehaus.janino.Descriptor
-
- SERIALIZABLE - Variable in class org.codehaus.janino.IClassLoader
-
- set() - Method in class org.codehaus.janino.CodeContext.Offset
-
Set this "Offset" to the offset of the current inserter; insert
this "Offset" before the current inserter.
- set(Object) - Method in class org.codehaus.janino.util.iterator.FilterListIterator
-
- setCharacterEncoding(String) - Method in class org.codehaus.janino.JavaSourceIClassLoader
-
- setClassName(String) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
Set the name of the generated class.
- setClassName(String) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- setClassName(String) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- setCompileErrorHandler(UnitCompiler.ErrorHandler) - Method in class org.codehaus.janino.Compiler
-
- setCompileErrorHandler(UnitCompiler.ErrorHandler) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
- setCompileErrorHandler(UnitCompiler.ErrorHandler) - Method in class org.codehaus.janino.JavaSourceIClassLoader
-
- setCompileErrorHandler(UnitCompiler.ErrorHandler) - Method in class org.codehaus.janino.UnitCompiler
-
- setCompilerOptions(String[]) - Method in class org.codehaus.commons.compiler.jdk.JavaSourceClassLoader
-
- setDebuggingInfo(boolean, boolean, boolean) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
-
- setDebuggingInfo(boolean, boolean, boolean) - Method in class org.codehaus.commons.compiler.jdk.JavaSourceClassLoader
-
- setDebuggingInfo(boolean, boolean, boolean) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
- setDebuggingInformation(boolean, boolean, boolean) - Method in interface org.codehaus.commons.compiler.ICookable
-
Determines what kind of debugging information is included in the generates classes.
- setDebuggingInformation(boolean, boolean, boolean) - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- setDebuggingInformation(boolean, boolean, boolean) - Method in class org.codehaus.janino.SimpleCompiler
-
- setDeclaringCompilationUnit(Java.CompilationUnit) - Method in class org.codehaus.janino.Java.PackageMemberClassDeclaration
-
- setDeclaringCompilationUnit(Java.CompilationUnit) - Method in class org.codehaus.janino.Java.PackageMemberInterfaceDeclaration
-
- setDeclaringCompilationUnit(Java.CompilationUnit) - Method in interface org.codehaus.janino.Java.PackageMemberTypeDeclaration
-
- setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
-
- setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.FieldDeclaration
-
- setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.MemberClassDeclaration
-
- setDeclaringType(Java.TypeDeclaration) - Method in class org.codehaus.janino.Java.MemberInterfaceDeclaration
-
- setDeclaringType(Java.TypeDeclaration) - Method in interface org.codehaus.janino.Java.TypeBodyDeclaration
-
- setDefaultImports(String[]) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
"Default imports" add to the system import "java.lang", i.e.
- setDefaultImports(String[]) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- setDefaultImports(String[]) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- setEnclosingBlockStatement(Java.BlockStatement) - Method in class org.codehaus.janino.Java.Rvalue
-
Sets enclosing block statement for this object and all subordinate
Java.Rvalue
objects.
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.ArrayType
-
- setEnclosingScope(Java.Scope) - Method in interface org.codehaus.janino.Java.BlockStatement
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.ConstructorInvocation
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.Statement
-
- setEnclosingScope(Java.Scope) - Method in class org.codehaus.janino.Java.Type
-
Sets the enclosing scope for this object and all subordinate
Java.Type
objects.
- setEnclosingTryStatement(Java.TryStatement) - Method in class org.codehaus.janino.Java.CatchClause
-
- setEnd(CodeContext.Offset) - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- setExpressionType(Class) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
-
Define the type of the expression.
- setExpressionType(Class) - Method in class org.codehaus.commons.compiler.jdk.ExpressionEvaluator
-
- setExpressionType(Class) - Method in class org.codehaus.janino.ExpressionEvaluator
-
- setExpressionTypes(Class[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
-
- setExpressionTypes(Class[]) - Method in class org.codehaus.commons.compiler.jdk.ExpressionEvaluator
-
- setExpressionTypes(Class[]) - Method in class org.codehaus.janino.ExpressionEvaluator
-
- setExtendedClass(Class) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
Set a particular superclass that the generated class will extend.
- setExtendedClass(Class) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- setExtendedClass(Class) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- setExtendedType(Class) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
Deprecated.
- setExtendedType(Class) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
Deprecated.
- setExtendedType(Class) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
Deprecated.
- setImplementedInterfaces(Class[]) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
Set a particular set of interfaces that the generated class will implement.
- setImplementedInterfaces(Class[]) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
- setImplementedInterfaces(Class[]) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
- setImplementedTypes(Class[]) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
-
Deprecated.
- setImplementedTypes(Class[]) - Method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
Deprecated.
- setImplementedTypes(Class[]) - Method in class org.codehaus.janino.ClassBodyEvaluator
-
Deprecated.
- setLastModified(long) - Method in class org.codehaus.janino.util.resource.MapResourceFinder
-
- setMethodName(String) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Define the name of the generated method.
- setMethodName(String) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setMethodName(String) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setMethodNames(String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- setMethodNames(String[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setMethodNames(String[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setName(String) - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- setOut(OutputStream) - Method in class org.codehaus.janino.tools.Disassembler
-
- setPackageDeclaration(Java.PackageDeclaration) - Method in class org.codehaus.janino.Java.CompilationUnit
-
- setParameters(String[], Class[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Define the names and types of the parameters of the generated method.
- setParameters(String[][], Class[][]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- setParameters(String[], Class[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setParameters(String[][], Class[][]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setParameters(String[], Class[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setParameters(String[][], Class[][]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setParentClassLoader(ClassLoader) - Method in interface org.codehaus.commons.compiler.ICookable
-
The "parent class loader" is used to load referenced classes.
- setParentClassLoader(ClassLoader) - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- setParentClassLoader(ClassLoader, Class<?>[]) - Method in class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
Deprecated.
- setParentClassLoader(ClassLoader) - Method in class org.codehaus.janino.SimpleCompiler
-
- setParentClassLoader(ClassLoader, Class[]) - Method in class org.codehaus.janino.SimpleCompiler
-
- setProtectionDomainFactory(AbstractJavaSourceClassLoader.ProtectionDomainFactory) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
-
- setReturnType(Class) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Define the return type of the generated method.
- setReturnType(Class) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setReturnType(Class) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setReturnTypes(Class[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- setReturnTypes(Class[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setReturnTypes(Class[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setSlot(Java.LocalVariableSlot) - Method in class org.codehaus.janino.Java.LocalVariable
-
- setSlotIndex(short) - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- setSourceDirectory(File) - Method in class org.codehaus.janino.tools.Disassembler
-
- setSourceFileCharacterEncoding(String) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
-
- setSourceFileCharacterEncoding(String) - Method in class org.codehaus.commons.compiler.jdk.JavaSourceClassLoader
-
- setSourceFileCharacterEncoding(String) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
- setSourceFinder(ResourceFinder) - Method in class org.codehaus.janino.JavaSourceIClassLoader
-
- setSourcePath(File[]) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
-
- setSourcePath(File[]) - Method in class org.codehaus.commons.compiler.jdk.JavaSourceClassLoader
-
- setSourcePath(File[]) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
- setStart(CodeContext.Offset) - Method in class org.codehaus.janino.Java.LocalVariableSlot
-
- setStaticMethod(boolean) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Define whether the generated method should be STATIC or not.
- setStaticMethod(boolean[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- setStaticMethod(boolean) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setStaticMethod(boolean[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setStaticMethod(boolean) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setStaticMethod(boolean[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setThrownExceptions(Class[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Define the exceptions that the generated method may throw.
- setThrownExceptions(Class[][]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- setThrownExceptions(Class[]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setThrownExceptions(Class[][]) - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
-
- setThrownExceptions(Class[]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setThrownExceptions(Class[][]) - Method in class org.codehaus.janino.ScriptEvaluator
-
- setUpClassLoaders() - Method in class org.codehaus.janino.SimpleCompiler
-
- setVerbose(boolean) - Method in class org.codehaus.janino.tools.Disassembler
-
- setVersion(short, short) - Method in class org.codehaus.janino.util.ClassFile
-
Sets the major and minor class file version numbers (JVMS 4.1).
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.JavaSourceIClassLoader
-
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.Parser
-
By default, warnings are discarded, but an application my install a
WarningHandler
.
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.Scanner
-
By default, warnings are discarded, but an application my install a
WarningHandler
.
- setWarningHandler(WarningHandler) - Method in class org.codehaus.janino.UnitCompiler
-
By default, warnings are discarded, but an application my install a custom
WarningHandler
.
- ShippingCost - Class in org.codehaus.commons.compiler.samples
-
- SHORT - Static variable in class org.codehaus.janino.Descriptor
-
- SHORT - Static variable in class org.codehaus.janino.IClass
-
- SHORT - Variable in class org.codehaus.janino.IClassLoader
-
- SHORT - Static variable in class org.codehaus.janino.Java.BasicType
-
- SHORT_ - Static variable in class org.codehaus.janino.Descriptor
-
- shortToString(short) - Static method in class org.codehaus.janino.Mod
-
- SimpleCompiler - Class in org.codehaus.commons.compiler.jdk
-
- SimpleCompiler() - Constructor for class org.codehaus.commons.compiler.jdk.SimpleCompiler
-
- SimpleCompiler - Class in org.codehaus.janino
-
- SimpleCompiler(String, Reader) - Constructor for class org.codehaus.janino.SimpleCompiler
-
Equivalent to
- SimpleCompiler(String, InputStream) - Constructor for class org.codehaus.janino.SimpleCompiler
-
Equivalent to
- SimpleCompiler(String) - Constructor for class org.codehaus.janino.SimpleCompiler
-
Equivalent to
- SimpleCompiler(Scanner, ClassLoader) - Constructor for class org.codehaus.janino.SimpleCompiler
-
Equivalent to
- SimpleCompiler() - Constructor for class org.codehaus.janino.SimpleCompiler
-
- size(String) - Static method in class org.codehaus.janino.Descriptor
-
- size() - Method in class org.codehaus.janino.util.iterator.IteratorCollection
-
- skip(long) - Method in class org.codehaus.commons.io.MultiReader
-
- slot - Variable in class org.codehaus.janino.Java.LocalVariable
-
- startPC - Variable in class org.codehaus.janino.util.ClassFile.LineNumberTableAttribute.Entry
-
- startPC - Variable in class org.codehaus.janino.util.ClassFile.LocalVariableTableAttribute.Entry
-
- statements - Variable in class org.codehaus.janino.Java.Block
-
- statiC - Variable in class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
-
- STATIC - Static variable in class org.codehaus.janino.Mod
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AttributeInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantClassInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantFieldrefInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantInterfaceMethodrefInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantMethodrefInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantNameAndTypeInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantPoolInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantUtf8Info
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.FieldInfo
-
- store(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.MethodInfo
-
Write this object to a DataOutputStream
, in the format
defined by the JVM specification.
- store(OutputStream) - Method in class org.codehaus.janino.util.ClassFile
-
Write
ClassFile
to an
OutputStream
, in "class file" format.
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.AttributeInfo
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ConstantValueAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.DeprecatedAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.ExceptionsAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.InnerClassesAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.LineNumberTableAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.LocalVariableTableAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.SourceFileAttribute
-
- storeBody(DataOutputStream) - Method in class org.codehaus.janino.util.ClassFile.SyntheticAttribute
-
- storeClassFile(ClassFile, File) - Method in class org.codehaus.janino.Compiler
-
Store the byte code of this
ClassFile
in the file system.
- storeCodeAttributeBody(DataOutputStream, short, short) - Method in class org.codehaus.janino.CodeContext
-
- storeLocalVariableTable(DataOutputStream, short) - Method in class org.codehaus.janino.CodeContext
-
- STRICTFP - Static variable in class org.codehaus.janino.Mod
-
- STRING - Static variable in class org.codehaus.janino.Descriptor
-
- STRING - Variable in class org.codehaus.janino.IClassLoader
-
- STRING_BUFFER - Static variable in class org.codehaus.janino.Descriptor
-
- STRING_BUILDER - Static variable in class org.codehaus.janino.Descriptor
-
- StringPattern - Class in org.codehaus.janino.util
-
Implementation of a UNIX shell-like string pattern algorithm.
- StringPattern(int, String) - Constructor for class org.codehaus.janino.util.StringPattern
-
- StringPattern(String) - Constructor for class org.codehaus.janino.util.StringPattern
-
- stringToType(String) - Static method in class org.codehaus.commons.compiler.samples.DemoBase
-
- stringToTypes(String) - Static method in class org.codehaus.commons.compiler.samples.DemoBase
-
- SUPER - Static variable in class org.codehaus.janino.Mod
-
- superclass - Variable in class org.codehaus.janino.util.ClassFile
-
- SYNCHRONIZED - Static variable in class org.codehaus.janino.Mod
-
- SYNTHETIC - Static variable in class org.codehaus.janino.Mod
-
- SYSTEM_PROPERTY_SOURCE_DEBUGGING_DIR - Static variable in interface org.codehaus.commons.compiler.ICookable
-
Value 'org.codehaus.janino.source_debugging.dir'.
- SYSTEM_PROPERTY_SOURCE_DEBUGGING_ENABLE - Static variable in interface org.codehaus.commons.compiler.ICookable
-
Value 'org.codehaus.janino.source_debugging.enable'.