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 TypeClassDescriptionclassprivate static class(package private) classFields 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.private IClassIClass.componentTypeCacheprivate IClass[]IClass.declaredIClassesCacheprivate IClassIClass.declaringIClassCachestatic final IClassIClass.DOUBLETheIClassobject for the primitive type DOUBLE.static final IClassIClass.FLOATTheIClassobject for the primitive type FLOAT.(package private) IClassJava.ThisReference.iClassA cache for the type of the instance that "this" refers to.static final IClassIClass.INTTheIClassobject for the primitive type INT.private IClass[]IClass.interfacesCachestatic final IClassIClass.LONGTheIClassobject for the primitive type LONG.static final IClassIClass.NULLTheIClassof thenullliteral.private IClassIClass.outerIClassCacheprivate IClass[]IClass.IInvocable.parameterTypesCache(package private) IClassJava.AbstractTypeDeclaration.resolvedTypeHolds the resolved type during compilation.static final IClassIClass.SHORTTheIClassobject for the primitive type SHORT.private IClassIClass.superclassCacheprivate IClass[]IClass.IInvocable.thrownExceptionsCacheprivate final IClassUnitCompiler.SimpleIField.typeIClassLoader.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.private static final IClass[]IClass.ZERO_ICLASSESFields in org.codehaus.janino with type parameters of type IClassModifier and TypeFieldDescriptionIClassLoader.arrayIClassesIClassLoader.arrayIClassesIClassLoader.loadedIClassesUnitCompiler.onDemandImportableTypesClassFileIClass.resolvedClassesMethods in org.codehaus.janino that return IClassModifier and TypeMethodDescriptionprivate IClassUnitCompiler.binaryNumericPromotionType(Java.Locatable locatable, IType type1, IType type2) private IClass[]ReflectionIClass.classesToIClasses(Class<?>[] cs) private IClassReflectionIClass.classToIClass(Class<?> c) private IClassUnitCompiler.compileGet2(Java.ArrayCreationReference acr) private IClassUnitCompiler.compileGet2(Java.ArrayLength al) private IClassUnitCompiler.compileGet2(Java.BooleanRvalue brv) private IClassUnitCompiler.compileGet2(Java.ClassInstanceCreationReference cicr) private IClassUnitCompiler.compileGet2(Java.ClassLiteral cl) private IClassUnitCompiler.compileGet2(Java.Instanceof io) private IClassUnitCompiler.compileGet2(Java.LambdaExpression le) private IClassUnitCompiler.compileGet2(Java.Literal l) private IClassUnitCompiler.compileGet2(Java.MethodInvocation mi) private IClassUnitCompiler.compileGet2(Java.MethodReference mr) private IClassUnitCompiler.compileGet2(Java.NewAnonymousClassInstance naci) private IClassUnitCompiler.compileGet2(Java.NewArray na) private IClassUnitCompiler.compileGet2(Java.SimpleConstant sl) private IClassUnitCompiler.compileGet2(Java.SuperclassMethodInvocation scmi) private IClassUnitCompiler.compileGet2(Java.ThisReference tr) private IClassUnitCompiler.compileGet2(Java.UnaryOperation uo) private IClassUnitCompiler.compileStringConcatenation(Java.Locatable locatable, IType type, Java.Rvalue secondOperand, Iterator<Java.Rvalue> operands) private IClassUnitCompiler.consT(Java.Locatable locatable, Object value) Pushes one value on the operand stack and pushes the respectiveClassFile.StackMapTableAttribute.VerificationTypeInfooperand to the stack map.private IClassUnitCompiler.convertToPrimitiveNumericType(Java.Locatable locatable, IType type) If the given type is a primitive type, return that type.private IClassCompiler.CompilerIClassLoader.defineIClassFromClassFileResource(Resource classFileResource) Opens the given classFileResource, reads its contents, defines it in theIClassLoader, and resolves it (this step may involve loading more classes).private IClassCompiler.CompilerIClassLoader.defineIClassFromSourceResource(Resource sourceResource, String className) Parses the compilation unit stored in the given sourceResource, remembers it inCompiler.this.parsedCompilationUnits(it may declare other classes that are needed later), finds the declaration of the type with the given className, and defines it in theIClassLoader.Finds one class or interface declaration in this compilation unit and resolves it into anIClass.protected IClassClassLoaderIClassLoader.findIClass(String descriptor) protected IClassCompiler.CompilerIClassLoader.findIClass(String type) protected abstract IClassIClassLoader.findIClass(String descriptor) Finds a newIClassby descriptor and callsIClassLoader.defineIClass(IClass).JavaSourceIClassLoader.findIClass(String fieldDescriptor) protected IClassResourceFinderIClassLoader.findIClass(String descriptor) (package private) IClass[]IClass.findMemberType(String name) If name isnull, finds allIClasses visible in the scope of the current class.private IClassUnitCompiler.findMemberType(IType iType, String name, Java.TypeArgument[] typeArguments, Location location) Finds a named type in the givenIClassorIParameterizedType.private IClassUnitCompiler.findTypeByFullyQualifiedName(Location location, String[] identifiers) Attempts to load anIClassby fully-qualified name throughUnitCompiler.iClassLoader.private IClassUnitCompiler.findTypeByName(Location location, String className) Finds the namedIClassin this compilation unit, or through theUnitCompiler.iClassLoader.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.private IClassIClassLoader.getArrayIClass2(IClass componentType) final IClassIClass.getComponentType()protected IClassClassFileIClass.getComponentType2()protected abstract IClassIClass.getComponentType2()protected IClassIClass.PrimitiveIClass.getComponentType2()protected IClassReflectionIClass.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()protected IClass[]IClass.PrimitiveIClass.getDeclaredIClasses2()protected IClass[]ReflectionIClass.getDeclaredIClasses2()final IClassIClass.getDeclaringIClass()IClass.IField.getDeclaringIClass()IClass.IInvocable.getDeclaringIClass()IClass.IMember.getDeclaringIClass()protected IClassClassFileIClass.getDeclaringIClass2()protected abstract IClassIClass.getDeclaringIClass2()protected IClassIClass.PrimitiveIClass.getDeclaringIClass2()protected IClassReflectionIClass.getDeclaringIClass2()private IClassUnitCompiler.getIClass(Java.ThisReference tr) 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()protected IClass[]IClass.PrimitiveIClass.getInterfaces2()protected IClass[]ReflectionIClass.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()protected IClassIClass.PrimitiveIClass.getOuterIClass2()protected IClassReflectionIClass.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.IClass[]ReflectionIClass.ReflectionIConstructor.getParameterTypes2()IClass[]ReflectionIClass.ReflectionIMethod.getParameterTypes2()private IClassUnitCompiler.getRawReferenceType(Location location, String simpleTypeName, Java.Scope scope) private IClassUnitCompiler.getRawType(Java.Type t) abstract IClassIClass.IMethod.getReturnType()ReflectionIClass.ReflectionIMethod.getReturnType()final IClassIClass.getSuperclass()Returns the superclass of the class.protected IClassClassFileIClass.getSuperclass2()protected abstract IClassIClass.getSuperclass2()protected IClassIClass.PrimitiveIClass.getSuperclass2()protected IClassReflectionIClass.getSuperclass2()final IClass[]IClass.IInvocable.getThrownExceptions()Returns the types thrown by this constructor or method.abstract IClass[]IClass.IInvocable.getThrownExceptions2()IClass[]ReflectionIClass.ReflectionIConstructor.getThrownExceptions2()IClass[]ReflectionIClass.ReflectionIMethod.getThrownExceptions2()abstract IClassIClass.IField.getType()ReflectionIClass.ReflectionIField.getType()UnitCompiler.SimpleIField.getType()private IClassUnitCompiler.getType2(Java.ArrayCreationReference acr) private IClassUnitCompiler.getType2(Java.ArrayLength al) private IClassUnitCompiler.getType2(Java.ArrayType at) private IClassUnitCompiler.getType2(Java.BooleanLiteral bl) private IClassUnitCompiler.getType2(Java.CharacterLiteral cl) private IClassUnitCompiler.getType2(Java.ClassInstanceCreationReference cicr) private IClassUnitCompiler.getType2(Java.ClassLiteral cl) private IClassUnitCompiler.getType2(Java.ConstructorInvocation ci) private IClassUnitCompiler.getType2(Java.FloatingPointLiteral fpl) private IClassUnitCompiler.getType2(Java.Instanceof io) private IClassUnitCompiler.getType2(Java.IntegerLiteral il) private IClassUnitCompiler.getType2(Java.LambdaExpression le) private IClassUnitCompiler.getType2(Java.MethodInvocation mi) private IClassUnitCompiler.getType2(Java.MethodReference mr) private IClassUnitCompiler.getType2(Java.NewAnonymousClassInstance naci) private IClassUnitCompiler.getType2(Java.NewArray na) private IClassUnitCompiler.getType2(Java.NullLiteral nl) private IClassUnitCompiler.getType2(Java.Package p) private IClassUnitCompiler.getType2(Java.PrimitiveType bt) private IClassUnitCompiler.getType2(Java.RvalueMemberType rvmt) private IClassUnitCompiler.getType2(Java.SimpleConstant sl) private IClassUnitCompiler.getType2(Java.StringLiteral sl) private IClassUnitCompiler.getType2(Java.SuperclassMethodInvocation scmi) private IClassUnitCompiler.getType2(Java.TextBlock tb) private IClassUnitCompiler.getType2(Java.ThisReference tr) private IClassUnitCompiler.getType2(Java.UnaryOperation uo) private IClassUnitCompiler.importSingleType(String simpleTypeName, Location location) If the given name was declared in a simple type import, load that class.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.private IClassUnitCompiler.importTypeOnDemand2(String simpleTypeName, Location location) private IClassUnitCompiler.isBoxingConvertible(IType sourceType) private IClassUnitCompiler.isUnboxingConvertible(IType sourceType) final IClassIClassLoader.loadIClass(String fieldDescriptor) Gets anIClassby field descriptor.private IClassUnitCompiler.newArray(Java.Locatable locatable, int dimExprCount, int dims, IType componentType) Expects dimExprCount values of typeinton the operand stack.private static IClassstatic IClassprivate static IClassprivate static IClass[]UnitCompiler.rawTypesOf(IType[] iTypes) private IClassIClassLoader.requireType(String descriptor) private IClassUnitCompiler.resolve(Java.TypeDeclaration td) private IClassClassFileIClass.resolveClass(short index) private IClassClassFileIClass.resolveClass(String descriptor) private IClass[]ClassFileIClass.resolveClasses(short[] ifs) private IClassUnitCompiler.unaryNumericPromotion(Java.Locatable locatable, IType type) Implements "unary numeric promotion" (JLS7 5.6.1).private IClassUnitCompiler.unaryNumericPromotionType(Java.Locatable locatable, IType type) Methods in org.codehaus.janino with parameters of type IClassModifier and TypeMethodDescriptionprivate shortUnitCompiler.addConstantClassInfo(IClass iClass) private shortUnitCompiler.addConstantFieldrefInfo(IClass iClass, String fieldName, IClass fieldType) private shortUnitCompiler.addConstantInterfaceMethodrefInfo(IClass iClass, String methodName, String methodFd) private shortUnitCompiler.addConstantMethodrefInfo(IClass iClass, String methodName, String methodFd) private voidUnitCompiler.anewarray(Java.Locatable locatable, IClass componentType) private voidUnitCompiler.checkAccessible(IClass type, Java.Scope contextScope, Location location) Checks whether the givenIClassis accessible in the given context, according to JLS7 6.6.1.2 and 6.6.1.4.private voidUnitCompiler.checkMemberAccessible(IClass iClassDeclaringMember, IClass.IMember member, Java.Scope contextScope, Location location) Verifies that a member (class, interface, field or method) declared in a given class is accessible from a given block statement context, according to JLS7 6.6.1.4.private voidUnitCompiler.consT(Java.Locatable locatable, IClass iClass) private voidUnitCompiler.consT(Java.Locatable locatable, IClass t, int value) protected final voidIClassLoader.defineIClass(IClass iClass) Defines anIClassin the context of thisIClassLoader.private IClass.IMethodUnitCompiler.fakeIMethod(IClass targetType, String name, Java.Rvalue[] arguments) final IClass.IConstructorIClass.findIConstructor(IClass[] parameterTypes) private IClass.IFieldUnitCompiler.findIField(IClass iClass, String name, Location location) Finds a named field in the givenIClass.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.private voidUnitCompiler.generateBridgeMethod(ClassFile cf, IClass declaringIClass, IClass.IMethod base, IClass.IMethod override) Generates and compiles a bridge method with signature base that delegates to override.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.private IClassIClassLoader.getArrayIClass2(IClass componentType) static String[]IClass.getDescriptors(IClass[] iClasses) Convenience method that determines the field descriptors of an array ofIClasses.private voidUnitCompiler.getfield(Java.Locatable locatable, IClass declaringIClass, String fieldName, IClass fieldType, boolean statiC) 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.private static IClass.IMethodprivate booleanUnitCompiler.hasAnnotation(Java.FunctionDeclarator fd, IClass annotationType) final booleanIClass.hasIMethod(String methodName, IClass[] parameterTypes) private static intbooleanIClass.implementsInterface(IClass that) Ifthisrepresents a class: Returntrueif this class directly or indirectly implementsthatinterface.private voidUnitCompiler.importStatic(IClass declaringIClass, String simpleName, Collection<Object> result, Location location) Finds all members (member classes, member interfaces, static fields and/or static methods) of the declaringIClass with the given simpleName and adds them to the result.private StringUnitCompiler.internalCheckAccessible(IClass iClassDeclaringMember, Access memberAccess, Java.Scope contextScope) private StringUnitCompiler.internalCheckAccessible(IClass type, Java.Scope contextScope) private voidUnitCompiler.invoke(Java.Locatable locatable, int opcode, IClass declaringIClass, String methodName, MethodDescriptor methodDescriptor, boolean useInterfaceMethodRef) Expects the target object and the arguments on the operand stack.private booleanUnitCompiler.isAccessible(IClass iClassDeclaringMember, Access memberAccess, Java.Scope contextScope) Determines whether a member (class, interface, field or method) declared in a given class is accessible from a given block statement context, according to JLS7 6.6.1.4.private booleanUnitCompiler.isAccessible(IClass type, Java.Scope contextScope) Determines whether the givenIClassis accessible in the given context, according to JLS7 6.6.1.2 and 6.6.1.4.booleanIClass.isAssignableFrom(IClass that) Determines ifthisis assignable from that.private booleanUnitCompiler.isMethodInvocationConvertible(IClass sourceType, IClass targetType, boolean boxingPermitted) Checks if "method invocation conversion" (5.3) is possible.booleanIClass.isSubclassOf(IClass that) Returnstrueif this class is an immediate or non-immediate subclass ofthatclass.private booleanUnitCompiler.isWideningPrimitiveConvertible(IClass sourceType, IType targetType) private voidUnitCompiler.neg(Java.Locatable locatable, IClass operandType) private ClassFileUnitCompiler.newClassFile(short accessFlags, IClass iClass, IClass superclass, IClass[] interfaces) private voidUnitCompiler.numericPromotion(Java.Locatable locatable, IType sourceType, IClass targetType) private booleanUnitCompiler.overridesMethod(IClass.IMethod method, IClass type) private booleanUnitCompiler.overridesMethodFromSupertype(IClass.IMethod m, IClass type) private voidUnitCompiler.referenceThis(Java.Locatable locatable, IClass currentIClass) private static IClass.IConstructorIClassLoader.requireConstructor(IClass declaringType, IClass... parameterTypes) private static IClass.IMethodIClassLoader.requireMethod(IClass declaringType, String name, IClass... parameterTypes) private voidUnitCompiler.reverseUnaryNumericPromotion(Java.Locatable locatable, IClass sourceType, IType targetType) private voidUnitCompiler.unboxingConversion(Java.Locatable locatable, IType sourceType, IClass targetType) private voidUnitCompiler.writeConstantClassInfo(IClass iClass) private voidUnitCompiler.writeConstantFieldrefInfo(IClass iClass, String fieldName, IClass fieldType) private voidUnitCompiler.writeConstantInterfaceMethodrefInfo(IClass iClass, String methodName, MethodDescriptor methodMd) private voidUnitCompiler.writeConstantMethodrefInfo(IClass iClass, String methodName, MethodDescriptor methodMd) Method parameters in org.codehaus.janino with type arguments of type IClassModifier and TypeMethodDescriptionprivate voidIClass.findMemberType(String name, Collection<IClass> result) Constructors in org.codehaus.janino with parameters of type IClassModifierConstructorDescription(package private)NewInitializedArray(Location location, IClass arrayIClass, Java.ArrayInitializer arrayInitializer) SimpleIField(IClass declaringIClass, String name, IClass type)