Uses of Class
org.codehaus.janino.IClass
Packages that use IClass
-
Uses of IClass in org.codehaus.janino
Subclasses of IClass in org.codehaus.janinoModifier and TypeClassDescriptionclassFields in org.codehaus.janino declared as IClassModifier and TypeFieldDescriptionfinal IClassJava.NewInitializedArray.arrayIClassThe resolvedJava.NewInitializedArray.arrayType.static final IClassIClass.BOOLEANTheIClassobject for the primitive type BOOLEAN.static final IClassIClass.BYTETheIClassobject for the primitive type BYTE.static final IClassIClass.CHARTheIClassobject for the primitive type CHAR.static final IClassIClass.DOUBLETheIClassobject for the primitive type DOUBLE.static final IClassIClass.FLOATTheIClassobject for the primitive type FLOAT.static final IClassIClass.INTTheIClassobject for the primitive type INT.static final IClassIClass.LONGTheIClassobject for the primitive type LONG.static final IClassIClass.NULLTheIClassof thenullliteral.static final IClassIClass.SHORTTheIClassobject for the primitive type SHORT.IClassLoader.TYPE_java_io_SerializableIClassLoader.TYPE_java_lang_annotation_RetentionIClassLoader.TYPE_java_lang_AssertionErrorIClassLoader.TYPE_java_lang_BooleanIClassLoader.TYPE_java_lang_ByteIClassLoader.TYPE_java_lang_CharacterIClassLoader.TYPE_java_lang_ClassIClassLoader.TYPE_java_lang_CloneableIClassLoader.TYPE_java_lang_DoubleIClassLoader.TYPE_java_lang_EnumIClassLoader.TYPE_java_lang_ErrorIClassLoader.TYPE_java_lang_ExceptionIClassLoader.TYPE_java_lang_FloatIClassLoader.TYPE_java_lang_IntegerIClassLoader.TYPE_java_lang_IterableIClassLoader.TYPE_java_lang_LongIClassLoader.TYPE_java_lang_ObjectIClassLoader.TYPE_java_lang_OverrideIClassLoader.TYPE_java_lang_RuntimeExceptionIClassLoader.TYPE_java_lang_ShortIClassLoader.TYPE_java_lang_StringIClassLoader.TYPE_java_lang_StringBuilderIClassLoader.TYPE_java_lang_SystemIClassLoader.TYPE_java_lang_ThrowableIClassLoader.TYPE_java_lang_VoidIClassLoader.TYPE_java_util_Iteratorstatic final IClassIClass.VOIDTheIClassobject for the type VOID.Methods in org.codehaus.janino that return IClassModifier and TypeMethodDescriptionFinds 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).JavaSourceIClassLoader.findIClass(String fieldDescriptor) protected IClassResourceFinderIClassLoader.findIClass(String descriptor) IClassLoader.getArrayIClass(IClass componentType) Gets anIClassthat represents an array of this type.IClassLoader.getArrayIClass(IClass componentType, int n) Gets anIClassthat represents an n-dimensional array of this type.final IClassIClass.getComponentType()protected IClassClassFileIClass.getComponentType2()protected abstract IClassIClass.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 IClassIClass.getDeclaringIClass()IClass.IField.getDeclaringIClass()IClass.IInvocable.getDeclaringIClass()IClass.IMember.getDeclaringIClass()protected IClassClassFileIClass.getDeclaringIClass2()protected abstract IClassIClass.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 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()final 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()final IClassIClass.getSuperclass()Returns the superclass of the class.protected IClassClassFileIClass.getSuperclass2()protected abstract IClassIClass.getSuperclass2()final IClass[]IClass.IInvocable.getThrownExceptions()Returns the types thrown by this constructor or method.abstract IClass[]IClass.IInvocable.getThrownExceptions2()abstract IClassIClass.IField.getType()UnitCompiler.SimpleIField.getType()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 IClassIClassLoader.loadIClass(String fieldDescriptor) Gets anIClassby field descriptor.static IClassMethods in org.codehaus.janino with parameters of type IClassModifier and TypeMethodDescriptionprotected final voidIClassLoader.defineIClass(IClass iClass) Defines anIClassin the context of thisIClassLoader.final IClass.IConstructorIClass.findIConstructor(IClass[] parameterTypes) final IClass.IMethodIClass.findIMethod(String methodName, IClass[] parameterTypes) 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.IClassLoader.getArrayIClass(IClass componentType) Gets anIClassthat represents an array of this type.IClassLoader.getArrayIClass(IClass componentType, int n) Gets anIClassthat represents an n-dimensional 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.final 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