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 classClassFileIClassFields in org.codehaus.janino declared as IClass Modifier and Type Field Description 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.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_SerializableIClassIClassLoader. TYPE_java_lang_annotation_RetentionIClassIClassLoader. TYPE_java_lang_AssertionErrorIClassIClassLoader. TYPE_java_lang_BooleanIClassIClassLoader. TYPE_java_lang_ByteIClassIClassLoader. TYPE_java_lang_CharacterIClassIClassLoader. TYPE_java_lang_ClassIClassIClassLoader. TYPE_java_lang_CloneableIClassIClassLoader. TYPE_java_lang_DoubleIClassIClassLoader. TYPE_java_lang_EnumIClassIClassLoader. TYPE_java_lang_ErrorIClassIClassLoader. TYPE_java_lang_ExceptionIClassIClassLoader. TYPE_java_lang_FloatIClassIClassLoader. TYPE_java_lang_IntegerIClassIClassLoader. TYPE_java_lang_IterableIClassIClassLoader. TYPE_java_lang_LongIClassIClassLoader. TYPE_java_lang_ObjectIClassIClassLoader. TYPE_java_lang_OverrideIClassIClassLoader. TYPE_java_lang_RuntimeExceptionIClassIClassLoader. TYPE_java_lang_ShortIClassIClassLoader. TYPE_java_lang_StringIClassIClassLoader. TYPE_java_lang_StringBuilderIClassIClassLoader. TYPE_java_lang_SystemIClassIClassLoader. TYPE_java_lang_ThrowableIClassIClassLoader. TYPE_java_lang_VoidIClassIClassLoader. TYPE_java_util_Iteratorstatic IClassIClass. VOIDTheIClassobject for the type VOID.Methods in org.codehaus.janino that return IClass Modifier and Type Method Description IClassUnitCompiler. findClass(String className)Finds one class or interface declaration in this compilation unit and resolves it into anIClass.protected IClassClassLoaderIClassLoader. findIClass(String descriptor)protected abstract IClassIClassLoader. findIClass(String descriptor)Finds a newIClassby descriptor and callsIClassLoader.defineIClass(IClass).IClassJavaSourceIClassLoader. findIClass(String fieldDescriptor)protected IClassResourceFinderIClassLoader. findIClass(String descriptor)IClassIClass.IAnnotation. getAnnotationType()IClassIClass. getArrayIClass(int n, IClass objectType)Gets anIClassthat represents an n-dimensional array of this type.IClassIClass. getArrayIClass(IClass objectType)Gets 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).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, respectively the superinterfaces of the interface, respectively{Cloneable,Serializable}for arrays.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.IInvocable. getParameterTypes2()Opposed to theConstructor, there is no magic "this$0" parameter.abstract IClassIClass.IMethod. getReturnType()IClassIClass. getSuperclass()Returns the superclass of the class.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)Gets 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)Allocates space for a local variable of the given size (1 or 2) on the local variable array.protected voidIClassLoader. defineIClass(IClass iClass)Defines 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)Determines the applicable invocables and choose the most specific invocable.IClassIClass. getArrayIClass(int n, IClass objectType)Gets anIClassthat represents an n-dimensional array of this type.IClassIClass. getArrayIClass(IClass objectType)Gets 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)Adds all methods with the given methodName that are declared by the type, its superclasses and all their superinterfaces to the result list v.booleanIClass. hasIMethod(String methodName, IClass[] parameterTypes)booleanIClass. implementsInterface(IClass that)Ifthisrepresents a class: Returntrueif this class directly or indirectly implementsthatinterface.booleanIClass. isAssignableFrom(IClass that)Determines ifthisis 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 qualification, IClass iClass, Java.Rvalue[] arguments)SimpleIField(IClass declaringIClass, String name, IClass type)SimpleType(Location location, IClass iClass)
-