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 classClassFileIClassFields in org.codehaus.janino declared as IClass Modifier and Type Field Description IClassIClassLoader. ANNO_java_lang_OverrideRepresentation of theOverrideannotation.IClassJava.NewInitializedArray. arrayIClassThe resolvedJava.NewInitializedArray.arrayType.static IClassIClass. BOOLEANTheIClassobject for the primitive type BOOLEAN.static IClassIClass. BYTETheIClassobject for the primitive type BYTE.static IClassIClass. CHARTheIClassobject for the primitive type CHAR.static IClassIClass. DOUBLETheIClassobject for the primitive type DOUBLE.static IClassIClass. FLOATTheIClassobject for the primitive type FLOAT.protected IClassJava.NewClassInstance. iClassThe resolvedJava.NewClassInstance.type.IClassJava.SimpleType. iClassstatic IClassIClass. INTTheIClassobject for the primitive type INT.static IClassIClass. LONGTheIClassobject for the primitive type LONG.static IClassIClass. SHORTTheIClassobject for the primitive type SHORT.IClassJava.LocalVariable. typeThe type of this local variable.IClassIClassLoader. TYPE_java_io_SerializableRepresentation of theSerializabletype.IClassIClassLoader. TYPE_java_lang_AssertionErrorRepresentation of theAssertionErrortype.IClassIClassLoader. TYPE_java_lang_BooleanRepresentation of theBooleantype.IClassIClassLoader. TYPE_java_lang_ByteRepresentation of theBytetype.IClassIClassLoader. TYPE_java_lang_CharacterRepresentation of theCharactertype.IClassIClassLoader. TYPE_java_lang_ClassRepresentation of theClasstype.IClassIClassLoader. TYPE_java_lang_CloneableRepresentation of theCloneabletype.IClassIClassLoader. TYPE_java_lang_DoubleRepresentation of theDoubletype.IClassIClassLoader. TYPE_java_lang_ErrorRepresentation of theErrortype.IClassIClassLoader. TYPE_java_lang_ExceptionRepresentation of theExceptiontype.IClassIClassLoader. TYPE_java_lang_FloatRepresentation of theFloattype.IClassIClassLoader. TYPE_java_lang_IntegerRepresentation of theIntegertype.IClassIClassLoader. TYPE_java_lang_IterableRepresentation of theIterabletype.IClassIClassLoader. TYPE_java_lang_LongRepresentation of theLongtype.IClassIClassLoader. TYPE_java_lang_ObjectRepresentation of theObjecttype.IClassIClassLoader. TYPE_java_lang_RuntimeExceptionRepresentation of theRuntimeExceptiontype.IClassIClassLoader. TYPE_java_lang_ShortRepresentation of theShorttype.IClassIClassLoader. TYPE_java_lang_StringRepresentation of theStringtype.IClassIClassLoader. TYPE_java_lang_StringBuilderRepresentation of theStringBuildertype.IClassIClassLoader. TYPE_java_lang_ThrowableRepresentation of theThrowabletype.IClassIClassLoader. TYPE_java_util_IteratorRepresentation of theIteratortype.static IClassIClass. VOIDTheIClassobject for the type VOID.Methods in org.codehaus.janino that return IClass Modifier and Type Method Description IClassUnitCompiler. findClass(String className)Find one class or interface declared in this compilation unit by name.protected IClassClassLoaderIClassLoader. findIClass(String descriptor)protected abstract IClassIClassLoader. findIClass(String descriptor)IClassJavaSourceIClassLoader. findIClass(String fieldDescriptor)protected IClassResourceFinderIClassLoader. findIClass(String descriptor)IClassIClass. getArrayIClass(int n, IClass objectType)Get anIClassthat represents an n-dimensional array of this type.IClassIClass. getArrayIClass(IClass objectType)Get anIClassthat represents an array of this type.IClassIClass. getComponentType()protected IClassClassFileIClass. getComponentType2()protected abstract IClassIClass. 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()IClassIClass. getDeclaringIClass()IClassIClass.IField. getDeclaringIClass()IClassIClass.IInvocable. getDeclaringIClass()IClassIClass.IMember. getDeclaringIClass()protected IClassClassFileIClass. getDeclaringIClass2()protected abstract IClassIClass. 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()IClassIClass. 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 IClassClassFileIClass. getOuterIClass2()protected abstract IClassIClass. 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 IClassIClass.IMethod. getReturnType()IClassIClass. getSuperclass()Returns the superclass of the class.
Returns "null" for class "Object", interfaces, arrays, primitive types and "void".protected IClassClassFileIClass. getSuperclass2()protected abstract IClassIClass. getSuperclass2()IClass[]IClass.IInvocable. getThrownExceptions()Returns the types thrown by this constructor or method.abstract IClass[]IClass.IInvocable. getThrownExceptions2()abstract IClassIClass.IField. getType()IClassJava.LocalVariableSlot. getType()IClassUnitCompiler.SimpleIField. getType()IClassUnitCompiler. 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.IClassIClassLoader. loadIClass(String fieldDescriptor)Get anIClassby field descriptor.Methods in org.codehaus.janino with parameters of type IClass Modifier and Type Method Description Java.LocalVariableSlotCodeContext. 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 voidIClassLoader. defineIClass(IClass iClass)Define anIClassin the context of thisIClassLoader.IClass.IConstructorIClass. findIConstructor(IClass[] parameterTypes)IClass.IMethodIClass. findIMethod(String methodName, IClass[] parameterTypes)IClass.IInvocableUnitCompiler. findMostSpecificIInvocable(Java.Locatable locatable, IClass.IInvocable[] iInvocables, IClass[] argumentTypes, boolean boxingPermitted, Java.Scope contextScope)Determine the applicable invocables and choose the most specific invocable.IClassIClass. getArrayIClass(int n, IClass objectType)Get anIClassthat represents an n-dimensional array of this type.IClassIClass. getArrayIClass(IClass objectType)Get anIClassthat represents an array of this type.static String[]IClass. getDescriptors(IClass[] iClasses)Convenience method that determines the field descriptors of an array ofIClasses.voidUnitCompiler. getIMethods(IClass type, String methodName, List<IClass.IMethod> v)Add all methods with the givenmethodNamethat are declared by thetype, its superclasses and all their superinterfaces to the result listv.booleanIClass. hasIMethod(String methodName, IClass[] parameterTypes)booleanIClass. implementsInterface(IClass that)Ifthisrepresents a class: Returntrueif this class directly or indirectly implementsthatinterface.booleanIClass. isAssignableFrom(IClass that)Determine if "this" is assignable from "that".booleanIClass. isSubclassOf(IClass that)Returnstrueif this class is an immediate or non-immediate subclass ofthatclass.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)
-