Uses of Class
org.codehaus.janino.IClass
-
Packages that use IClass Package Description org.codehaus.janino The classes in this package pose the core of the Janino JavaTM compiler. -
-
Uses of IClass in org.codehaus.janino
Subclasses of IClass in org.codehaus.janino Modifier and Type Class Description class
ClassFileIClass
Fields in org.codehaus.janino declared as IClass Modifier and Type Field Description IClass
IClassLoader. ANNO_java_lang_Override
Representation of theOverride
annotation.IClass
Java.NewInitializedArray. arrayIClass
The resolvedJava.NewInitializedArray.arrayType
.static IClass
IClass. BOOLEAN
TheIClass
object for the primitive type BOOLEAN.static IClass
IClass. BYTE
TheIClass
object for the primitive type BYTE.static IClass
IClass. CHAR
TheIClass
object for the primitive type CHAR.static IClass
IClass. DOUBLE
TheIClass
object for the primitive type DOUBLE.static IClass
IClass. FLOAT
TheIClass
object for the primitive type FLOAT.protected IClass
Java.NewClassInstance. iClass
The resolvedJava.NewClassInstance.type
.IClass
Java.SimpleType. iClass
static IClass
IClass. INT
TheIClass
object for the primitive type INT.static IClass
IClass. LONG
TheIClass
object for the primitive type LONG.static IClass
IClass. SHORT
TheIClass
object for the primitive type SHORT.IClass
Java.LocalVariable. type
The type of this local variable.IClass
IClassLoader. TYPE_java_io_Serializable
Representation of theSerializable
type.IClass
IClassLoader. TYPE_java_lang_AssertionError
Representation of theAssertionError
type.IClass
IClassLoader. TYPE_java_lang_Boolean
Representation of theBoolean
type.IClass
IClassLoader. TYPE_java_lang_Byte
Representation of theByte
type.IClass
IClassLoader. TYPE_java_lang_Character
Representation of theCharacter
type.IClass
IClassLoader. TYPE_java_lang_Class
Representation of theClass
type.IClass
IClassLoader. TYPE_java_lang_Cloneable
Representation of theCloneable
type.IClass
IClassLoader. TYPE_java_lang_Double
Representation of theDouble
type.IClass
IClassLoader. TYPE_java_lang_Error
Representation of theError
type.IClass
IClassLoader. TYPE_java_lang_Exception
Representation of theException
type.IClass
IClassLoader. TYPE_java_lang_Float
Representation of theFloat
type.IClass
IClassLoader. TYPE_java_lang_Integer
Representation of theInteger
type.IClass
IClassLoader. TYPE_java_lang_Iterable
Representation of theIterable
type.IClass
IClassLoader. TYPE_java_lang_Long
Representation of theLong
type.IClass
IClassLoader. TYPE_java_lang_Object
Representation of theObject
type.IClass
IClassLoader. TYPE_java_lang_RuntimeException
Representation of theRuntimeException
type.IClass
IClassLoader. TYPE_java_lang_Short
Representation of theShort
type.IClass
IClassLoader. TYPE_java_lang_String
Representation of theString
type.IClass
IClassLoader. TYPE_java_lang_StringBuilder
Representation of theStringBuilder
type.IClass
IClassLoader. TYPE_java_lang_Throwable
Representation of theThrowable
type.IClass
IClassLoader. TYPE_java_util_Iterator
Representation of theIterator
type.static IClass
IClass. VOID
TheIClass
object for the type VOID.Methods in org.codehaus.janino that return IClass Modifier and Type Method Description IClass
UnitCompiler. findClass(String className)
Find one class or interface declared in this compilation unit by name.protected IClass
ClassLoaderIClassLoader. findIClass(String descriptor)
protected abstract IClass
IClassLoader. findIClass(String descriptor)
IClass
JavaSourceIClassLoader. findIClass(String fieldDescriptor)
protected IClass
ResourceFinderIClassLoader. findIClass(String descriptor)
IClass
IClass. getArrayIClass(int n, IClass objectType)
Get anIClass
that represents an n-dimensional array of this type.IClass
IClass. getArrayIClass(IClass objectType)
Get anIClass
that represents an array of this type.IClass
IClass. getComponentType()
protected IClass
ClassFileIClass. getComponentType2()
protected abstract IClass
IClass. getComponentType2()
IClass[]
IClass. getDeclaredIClasses()
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".protected IClass[]
ClassFileIClass. getDeclaredIClasses2()
protected abstract IClass[]
IClass. getDeclaredIClasses2()
IClass
IClass. getDeclaringIClass()
IClass
IClass.IField. getDeclaringIClass()
IClass
IClass.IInvocable. getDeclaringIClass()
IClass
IClass.IMember. getDeclaringIClass()
protected IClass
ClassFileIClass. getDeclaringIClass2()
protected abstract IClass
IClass. getDeclaringIClass2()
IClass[]
IClass. getInterfaces()
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".protected IClass[]
ClassFileIClass. getInterfaces2()
protected abstract IClass[]
IClass. getInterfaces2()
IClass
IClass. getOuterIClass()
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 classesprotected IClass
ClassFileIClass. getOuterIClass2()
protected abstract IClass
IClass. getOuterIClass2()
IClass[]
IClass.IInvocable. getParameterTypes()
Returns the types of the parameters of this constructor or method.abstract IClass[]
IClass.IConstructor. getParameterTypes2()
Opposed toConstructor.getParameterTypes()
, the return value of this method does not include the optionally leading "synthetic parameters".abstract IClass[]
IClass.IInvocable. getParameterTypes2()
abstract IClass
IClass.IMethod. getReturnType()
IClass
IClass. getSuperclass()
Returns the superclass of the class.
Returns "null" for class "Object", interfaces, arrays, primitive types and "void".protected IClass
ClassFileIClass. getSuperclass2()
protected abstract IClass
IClass. getSuperclass2()
IClass[]
IClass.IInvocable. getThrownExceptions()
Returns the types thrown by this constructor or method.abstract IClass[]
IClass.IInvocable. getThrownExceptions2()
abstract IClass
IClass.IField. getType()
IClass
Java.LocalVariableSlot. getType()
IClass
UnitCompiler.SimpleIField. getType()
IClass
UnitCompiler. importTypeOnDemand(String simpleTypeName, Location location)
6.5.2.BL1.B1.B5, 6.5.2.BL1.B1.B6 Type-import-on-demand.
6.5.5.1.6 Type-import-on-demand declaration.IClass
IClassLoader. loadIClass(String fieldDescriptor)
Get anIClass
by field descriptor.Methods in org.codehaus.janino with parameters of type IClass Modifier and Type Method Description Java.LocalVariableSlot
CodeContext. allocateLocalVariable(short size, String name, IClass type)
Allocate space for a local variable of the given size (1 or 2) on the local variable array.protected void
IClassLoader. defineIClass(IClass iClass)
Define anIClass
in the context of thisIClassLoader
.IClass.IConstructor
IClass. findIConstructor(IClass[] parameterTypes)
IClass.IMethod
IClass. findIMethod(String methodName, IClass[] parameterTypes)
IClass.IInvocable
UnitCompiler. findMostSpecificIInvocable(Java.Locatable locatable, IClass.IInvocable[] iInvocables, IClass[] argumentTypes, boolean boxingPermitted, Java.Scope contextScope)
Determine the applicable invocables and choose the most specific invocable.IClass
IClass. getArrayIClass(int n, IClass objectType)
Get anIClass
that represents an n-dimensional array of this type.IClass
IClass. getArrayIClass(IClass objectType)
Get anIClass
that represents an array of this type.static String[]
IClass. getDescriptors(IClass[] iClasses)
Convenience method that determines the field descriptors of an array ofIClass
es.void
UnitCompiler. getIMethods(IClass type, String methodName, List<IClass.IMethod> v)
Add all methods with the givenmethodName
that are declared by thetype
, its superclasses and all their superinterfaces to the result listv
.boolean
IClass. hasIMethod(String methodName, IClass[] parameterTypes)
boolean
IClass. implementsInterface(IClass that)
Ifthis
represents a class: Returntrue
if this class directly or indirectly implementsthat
interface.boolean
IClass. isAssignableFrom(IClass that)
Determine if "this" is assignable from "that".boolean
IClass. isSubclassOf(IClass that)
Returnstrue
if this class is an immediate or non-immediate subclass ofthat
class.Constructors in org.codehaus.janino with parameters of type IClass Constructor Description LocalVariable(boolean finaL, IClass type)
LocalVariableSlot(String name, short slotNumber, IClass type)
NewClassInstance(Location location, Java.Rvalue optionalQualification, IClass iClass, Java.Rvalue[] arguments)
SimpleIField(IClass declaringIClass, String name, IClass type)
SimpleType(Location location, IClass iClass)
-