Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- generateBytecodes(String) - Method in class org.codehaus.janino.CachingJavaSourceClassLoader
-
Override
JavaSourceClassLoader.generateBytecodes(String)
to implement class file caching. - generateBytecodes(String) - Method in class org.codehaus.janino.JavaSourceClassLoader
-
Find, scan, parse the right compilation unit.
- generatesCode2(Java.AssertStatement) - Method in class org.codehaus.janino.UnitCompiler
- generatesCode2(Java.Block) - Method in class org.codehaus.janino.UnitCompiler
- generatesCode2(Java.BlockStatement) - Method in class org.codehaus.janino.UnitCompiler
- generatesCode2(Java.EmptyStatement) - Method in class org.codehaus.janino.UnitCompiler
- generatesCode2(Java.FieldDeclaration) - Method in class org.codehaus.janino.UnitCompiler
- generatesCode2(Java.Initializer) - Method in class org.codehaus.janino.UnitCompiler
- generatesCode2(Java.LocalClassDeclarationStatement) - 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 theirICompilerFactory
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
- getClassFile() - Method in class org.codehaus.janino.CodeContext
-
The
ClassFile
this context is related to. - getClassFile() - Method in class org.codehaus.janino.util.ClassFile.MethodInfo
- 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.
- 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
-
Loads an
ICompilerFactory
by class name. - 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() - Method in class org.codehaus.janino.UnitCompiler.SimpleIField
- getConstantValue(Java.Rvalue) - Method in class org.codehaus.janino.UnitCompiler
-
Attempts to evaluate as a constant expression.
- 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
-
The uncached version of
IClass.getDeclaredIConstructors()
which must be implemented by derived classes. - getDeclaredIField(String) - Method in class org.codehaus.janino.IClass
-
Returns the named
IClass.IField
declared in thisIClass
(does not work for inherited fields). - getDeclaredIFields() - Method in class org.codehaus.janino.IClass
-
Returns the
IClass.IField
s declared in thisIClass
(but not inherited fields). - getDeclaredIFields2() - Method in class org.codehaus.janino.ClassFileIClass
- getDeclaredIFields2() - Method in class org.codehaus.janino.IClass
-
Uncached version of
IClass.getDeclaredIFields()
. - 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
-
The uncached version of
IClass.getDeclaredIMethods()
which must be implemented by derived classes. - 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
-
Returns the
IClass
that declares thisIClass.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 itsICompilerFactory
. - 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
-
Opposed to
IClass.IConstructor.getParameterTypes()
, the method descriptor returned by this method does include the optionally leading synthetic parameters. - 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() - Method in class org.codehaus.janino.util.resource.FileResource
- getFile(String) - Method in class org.codehaus.janino.util.resource.DirectoryResourceCreator
- 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
- 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 thetype
, its superclasses and all their superinterfaces to the result listv
. - 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
- getLineNumber() - Method in class org.codehaus.commons.compiler.Location
- getLocalVariable(Java.FunctionDeclarator.FormalParameter) - Method in class org.codehaus.janino.UnitCompiler
- getLocalVariable(Java.LocalVariableDeclarationStatement, Java.VariableDeclarator) - Method in class org.codehaus.janino.UnitCompiler
- getLocation() - Method in exception class org.codehaus.commons.compiler.LocatedException
-
Returns the
Location
object specified at construction time (may benull
). - 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 class 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() - Method in class org.codehaus.commons.compiler.jdk.ScriptEvaluator
- getMethod() - Method in class org.codehaus.janino.ScriptEvaluator
- getMethod(int) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
Same as
IScriptEvaluator.getMethod()
, but for multiple scripts. - getMethod(int) - Method in class org.codehaus.commons.compiler.jdk.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
- getModifiersAndAnnotations() - Method in class org.codehaus.janino.Java.AbstractTypeDeclaration
- getModifiersAndAnnotations() - 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
- 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
- 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, Location) - Method in class org.codehaus.janino.UnitCompiler
-
Check if the given simple name was imported through a single type import.
- 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 interface org.codehaus.janino.Java.Annotation
- getType() - Method in class org.codehaus.janino.Java.LocalVariableSlot
- getType() - Method in class org.codehaus.janino.Java.MarkerAnnotation
- getType() - Method in class org.codehaus.janino.Java.NormalAnnotation
- getType() - Method in class org.codehaus.janino.Java.SingleElementAnnotation
- 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.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form