| Package | Description |
|---|---|
| org.codehaus.janino |
The core of the Janino JavaTM compiler.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClassFileIClass
|
| Modifier and Type | Field and Description |
|---|---|
IClass |
Java.NewInitializedArray.arrayIClass
The resolved
Java.NewInitializedArray.arrayType. |
static IClass |
IClass.BOOLEAN
The
IClass object for the primitive type BOOLEAN. |
static IClass |
IClass.BYTE
The
IClass object for the primitive type BYTE. |
static IClass |
IClass.CHAR
The
IClass object for the primitive type CHAR. |
static IClass |
IClass.DOUBLE
The
IClass object for the primitive type DOUBLE. |
static IClass |
IClass.FLOAT
The
IClass object for the primitive type FLOAT. |
IClass |
Java.SimpleType.iClass
|
IClass |
Java.NewClassInstance.iClass
The resolved
Java.NewClassInstance.type. |
static IClass |
IClass.INT
The
IClass object for the primitive type INT. |
static IClass |
IClass.LONG
The
IClass object for the primitive type LONG. |
static IClass |
IClass.SHORT
The
IClass object for the primitive type SHORT. |
IClass |
Java.LocalVariable.type
The type of this local variable.
|
IClass |
IClassLoader.TYPE_java_io_Serializable |
IClass |
IClassLoader.TYPE_java_lang_annotation_Retention |
IClass |
IClassLoader.TYPE_java_lang_AssertionError |
IClass |
IClassLoader.TYPE_java_lang_Boolean |
IClass |
IClassLoader.TYPE_java_lang_Byte |
IClass |
IClassLoader.TYPE_java_lang_Character |
IClass |
IClassLoader.TYPE_java_lang_Class |
IClass |
IClassLoader.TYPE_java_lang_Cloneable |
IClass |
IClassLoader.TYPE_java_lang_Double |
IClass |
IClassLoader.TYPE_java_lang_Enum |
IClass |
IClassLoader.TYPE_java_lang_Error |
IClass |
IClassLoader.TYPE_java_lang_Exception |
IClass |
IClassLoader.TYPE_java_lang_Float |
IClass |
IClassLoader.TYPE_java_lang_Integer |
IClass |
IClassLoader.TYPE_java_lang_Iterable |
IClass |
IClassLoader.TYPE_java_lang_Long |
IClass |
IClassLoader.TYPE_java_lang_Object |
IClass |
IClassLoader.TYPE_java_lang_Override |
IClass |
IClassLoader.TYPE_java_lang_RuntimeException |
IClass |
IClassLoader.TYPE_java_lang_Short |
IClass |
IClassLoader.TYPE_java_lang_String |
IClass |
IClassLoader.TYPE_java_lang_StringBuilder |
IClass |
IClassLoader.TYPE_java_lang_System |
IClass |
IClassLoader.TYPE_java_lang_Throwable |
IClass |
IClassLoader.TYPE_java_util_Iterator |
static IClass |
IClass.VOID
The
IClass object for the type VOID. |
| Modifier and Type | Method and Description |
|---|---|
IClass |
UnitCompiler.findClass(String className)
Finds one class or interface declared in this compilation unit by name.
|
protected IClass |
ResourceFinderIClassLoader.findIClass(String descriptor) |
IClass |
JavaSourceIClassLoader.findIClass(String fieldDescriptor) |
protected abstract IClass |
IClassLoader.findIClass(String descriptor)
Finds a new
IClass by descriptor and calls IClassLoader.defineIClass(IClass). |
protected IClass |
ClassLoaderIClassLoader.findIClass(String descriptor) |
IClass |
IClass.IAnnotation.getAnnotationType() |
IClass |
IClass.getArrayIClass(IClass objectType)
Gets an
IClass that represents an array of this type. |
IClass |
IClass.getArrayIClass(int n,
IClass objectType)
Gets an
IClass that represents an n-dimensional array of this type. |
IClass |
IClass.getComponentType() |
protected abstract IClass |
IClass.getComponentType2() |
protected IClass |
ClassFileIClass.getComponentType2() |
IClass[] |
IClass.getDeclaredIClasses()
Returns the classes and interfaces declared as members of the class (but not inherited classes and interfaces).
|
protected abstract IClass[] |
IClass.getDeclaredIClasses2() |
protected IClass[] |
ClassFileIClass.getDeclaredIClasses2() |
IClass |
IClass.getDeclaringIClass() |
IClass |
IClass.IMember.getDeclaringIClass() |
IClass |
IClass.IInvocable.getDeclaringIClass() |
IClass |
IClass.IField.getDeclaringIClass() |
protected abstract IClass |
IClass.getDeclaringIClass2() |
protected IClass |
ClassFileIClass.getDeclaringIClass2() |
IClass[] |
IClass.getInterfaces()
Returns the interfaces implemented by the class, respectively the superinterfaces of the interface, respectively
{ Cloneable, Serializable } for arrays. |
protected abstract IClass[] |
IClass.getInterfaces2() |
protected IClass[] |
ClassFileIClass.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 classes
|
protected abstract IClass |
IClass.getOuterIClass2() |
protected IClass |
ClassFileIClass.getOuterIClass2() |
IClass[] |
IClass.IInvocable.getParameterTypes()
Returns the types of the parameters of this constructor or method.
|
abstract IClass[] |
IClass.IInvocable.getParameterTypes2()
Opposed to the
Constructor, there is no magic "this$0" parameter. |
abstract IClass |
IClass.IMethod.getReturnType() |
IClass |
IClass.getSuperclass()
Returns the superclass of the class.
|
protected abstract IClass |
IClass.getSuperclass2() |
protected IClass |
ClassFileIClass.getSuperclass2() |
IClass[] |
IClass.IInvocable.getThrownExceptions()
Returns the types thrown by this constructor or method.
|
abstract IClass[] |
IClass.IInvocable.getThrownExceptions2() |
IClass |
UnitCompiler.SimpleIField.getType() |
IClass |
Java.LocalVariableSlot.getType() |
abstract IClass |
IClass.IField.getType() |
IClass |
UnitCompiler.importTypeOnDemand(String simpleTypeName,
Location location)
6.5.2.BL1.B1.B5, 6.5.2.BL1.B1.B6 Type-import-on-demand.
|
IClass |
IClassLoader.loadIClass(String fieldDescriptor)
Gets an
IClass by field descriptor. |
| Modifier and Type | Method and Description |
|---|---|
Java.LocalVariableSlot |
CodeContext.allocateLocalVariable(short size,
String name,
IClass type)
Allocates space for a local variable of the given size (1 or 2) on the local variable array.
|
protected void |
IClassLoader.defineIClass(IClass iClass)
Defines an
IClass in the context of this IClassLoader. |
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)
Determines the applicable invocables and choose the most specific invocable.
|
IClass |
IClass.getArrayIClass(IClass objectType)
Gets an
IClass that represents an array of this type. |
IClass |
IClass.getArrayIClass(int n,
IClass objectType)
Gets an
IClass that represents an n-dimensional array of this type. |
static String[] |
IClass.getDescriptors(IClass[] iClasses)
Convenience method that determines the field descriptors of an array of
IClasses. |
void |
UnitCompiler.getIMethods(IClass type,
String methodName,
List<IClass.IMethod> v)
Adds all methods with the given methodName that are declared by the type, its superclasses
and all their superinterfaces to the result list v.
|
boolean |
IClass.hasIMethod(String methodName,
IClass[] parameterTypes) |
boolean |
IClass.implementsInterface(IClass that)
If
this represents a class: Return true if this class directly or indirectly implements that interface. |
boolean |
IClass.isAssignableFrom(IClass that)
Determines if
this is assignable from that. |
boolean |
IClass.isSubclassOf(IClass that)
Returns
true if this class is an immediate or non-immediate subclass of that class. |
| Constructor and 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) |
Copyright © 2019. All rights reserved.