# Uses of Class
org.codehaus.janino.IClass

Packages that use IClass
Package
Description
org.codehaus.janino
The core of the Janino Java compiler.

## Uses of IClass in org.codehaus.janino

Subclasses of IClass in org.codehaus.janino
Modifier and Type
Class
Description
`class`
`ClassFileIClass`
A wrapper object that turns a `ClassFile` object into an `IClass`.
Fields in org.codehaus.janino declared as IClass
Modifier and Type
Field
Description
`final IClass`
Java.NewInitializedArray.`arrayIClass`
The resolved `Java.NewInitializedArray.arrayType`.
`static final IClass`
IClass.`BOOLEAN`
The `IClass` object for the primitive type BOOLEAN.
`static final IClass`
IClass.`BYTE`
The `IClass` object for the primitive type BYTE.
`static final IClass`
IClass.`CHAR`
The `IClass` object for the primitive type CHAR.
`static final IClass`
IClass.`DOUBLE`
The `IClass` object for the primitive type DOUBLE.
`static final IClass`
IClass.`FLOAT`
The `IClass` object for the primitive type FLOAT.
`static final IClass`
IClass.`INT`
The `IClass` object for the primitive type INT.
`static final IClass`
IClass.`LONG`
The `IClass` object for the primitive type LONG.
`static final IClass`
IClass.`NULL`
The `IClass` of the `null` literal.
`static final IClass`
IClass.`SHORT`
The `IClass` object for the primitive type SHORT.
`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_lang_Void`
`IClass`
IClassLoader.`TYPE_java_util_Iterator`
`static final IClass`
IClass.`VOID`
The `IClass` object for the type VOID.
Methods in org.codehaus.janino that return IClass
Modifier and Type
Method
Description
`IClass`
UnitCompiler.`findClass(String className)`
Finds one class or interface declaration in this compilation unit and resolves it into an `IClass`.
`protected IClass`
ClassLoaderIClassLoader.`findIClass(String descriptor)`
`protected abstract IClass`
IClassLoader.`findIClass(String descriptor)`
Finds a new `IClass` by descriptor and calls `IClassLoader.defineIClass(IClass)`.
`IClass`
JavaSourceIClassLoader.`findIClass(String fieldDescriptor)`
`protected IClass`
ResourceFinderIClassLoader.`findIClass(String descriptor)`
`IClass`
IClassLoader.`getArrayIClass(IClass componentType)`
Gets an `IClass` that represents an array of this type.
`IClass`
IClassLoader.`getArrayIClass(IClass componentType, int n)`
Gets an `IClass` that represents an n-dimensional array of this type.
`final IClass`
IClass.`getComponentType()`
`protected IClass`
ClassFileIClass.`getComponentType2()`
`protected abstract IClass`
IClass.`getComponentType2()`
`final IClass[]`
IClass.`getDeclaredIClasses()`
Returns the classes and interfaces declared as members of the class (but not inherited classes and interfaces).
`protected IClass[]`
ClassFileIClass.`getDeclaredIClasses2()`
`protected abstract IClass[]`
IClass.`getDeclaredIClasses2()`
`final IClass`
IClass.`getDeclaringIClass()`
`IClass`
IClass.IField.`getDeclaringIClass()`
`IClass`
IClass.IInvocable.`getDeclaringIClass()`
`IClass`
IClass.IMember.`getDeclaringIClass()`
`protected IClass`
ClassFileIClass.`getDeclaringIClass2()`
`protected abstract IClass`
IClass.`getDeclaringIClass2()`
`final IClass[]`
IClass.`getInterfaces()`
Returns the interfaces implemented by the class, respectively the superinterfaces of the interface, respectively `{` `Cloneable``,` `Serializable` `}` for arrays.
`protected IClass[]`
ClassFileIClass.`getInterfaces2()`
`protected abstract IClass[]`
IClass.`getInterfaces2()`
`final 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 IClass`
ClassFileIClass.`getOuterIClass2()`
`protected abstract IClass`
IClass.`getOuterIClass2()`
`final 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()`
`final IClass`
IClass.`getSuperclass()`
Returns the superclass of the class.
`protected IClass`
ClassFileIClass.`getSuperclass2()`
`protected abstract IClass`
IClass.`getSuperclass2()`
`final IClass[]`
IClass.IInvocable.`getThrownExceptions()`
Returns the types thrown by this constructor or method.
`abstract IClass[]`
IClass.IInvocable.`getThrownExceptions2()`
`abstract IClass`
IClass.IField.`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.
`final IClass`
IClassLoader.`loadIClass(String fieldDescriptor)`
Gets an `IClass` by field descriptor.
`static IClass`
IClass.`rawTypeOf(IType type)`
Methods in org.codehaus.janino with parameters of type IClass
Modifier and Type
Method
Description
`protected final void`
IClassLoader.`defineIClass(IClass iClass)`
Defines an `IClass` in the context of this `IClassLoader`.
`final IClass.IConstructor`
IClass.`findIConstructor(IClass[] parameterTypes)`
`final 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`
IClassLoader.`getArrayIClass(IClass componentType)`
Gets an `IClass` that represents an array of this type.
`IClass`
IClassLoader.`getArrayIClass(IClass componentType, int n)`
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 `IClass`es.
`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.
`final 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.
Constructors in org.codehaus.janino with parameters of type IClass
Modifier
Constructor
Description
``
`SimpleIField(IClass declaringIClass, String name, IClass type)`