Uses of Interface
org.codehaus.janino.IType
Packages that use IType
-
Uses of IType in org.codehaus.janino
Subinterfaces of IType in org.codehaus.janinoModifier and TypeInterfaceDescriptioninterfaceinterfaceType bounds can either be a class or interface type, or a type variable.interfaceinterfaceClasses in org.codehaus.janino that implement ITypeModifier and TypeClassDescriptionclassclassA simplified equivalent to "java.lang.reflect".private static class(package private) classFields in org.codehaus.janino declared as ITypeModifier and TypeFieldDescription(package private) IType[]Java.InterfaceDeclaration.interfacesSet during "compile()".Java.NewClassInstance.iTypeThe resolvedJava.NewClassInstance.type.final ITypeJava.SimpleType.iType(package private) ITypeJava.FunctionDeclarator.returnTypeSet by "compile()".(package private) ITypeJava.QualifiedThisReference.targetITypeThe resolvedJava.QualifiedThisReference.qualification.final ITypeJava.LocalVariable.typeThe type of this local variable.private final ITypeJava.LocalVariableSlot.typeMethods in org.codehaus.janino that return ITypeModifier and TypeMethodDescriptionprivate ITypeUnitCompiler.commonSupertype(IType t1, IType t2) private ITypeUnitCompiler.commonSupertype2(IType t1, IType t2) private ITypeUnitCompiler.compileArithmeticBinaryOperation(Java.Locatable locatable, IType lhsType, String operator, Java.Rvalue rhs) The LHS operand of type lhsType is expected on the stack.private ITypeUnitCompiler.compileArithmeticOperation(Java.Locatable locatable, IType firstOperandType, Iterator<Java.Rvalue> operands, String operator) Executes an arithmetic operation on a sequence of operands.private ITypeUnitCompiler.compileGet(Java.Rvalue rv) Generates code that determines the value of theJava.Rvalueand puts it on the operand stack.private ITypeUnitCompiler.compileGet2(Java.AmbiguousName an) private ITypeUnitCompiler.compileGet2(Java.ArrayAccessExpression aae) private ITypeUnitCompiler.compileGet2(Java.Assignment a) private ITypeUnitCompiler.compileGet2(Java.BinaryOperation bo) private ITypeUnitCompiler.compileGet2(Java.Cast c) private ITypeUnitCompiler.compileGet2(Java.ConditionalExpression ce) private ITypeUnitCompiler.compileGet2(Java.Crement c) private ITypeUnitCompiler.compileGet2(Java.FieldAccess fa) private ITypeUnitCompiler.compileGet2(Java.FieldAccessExpression fae) private ITypeUnitCompiler.compileGet2(Java.LocalVariableAccess lva) private ITypeUnitCompiler.compileGet2(Java.NewClassInstance nci) private ITypeUnitCompiler.compileGet2(Java.NewInitializedArray nia) private ITypeUnitCompiler.compileGet2(Java.ParameterAccess pa) private ITypeUnitCompiler.compileGet2(Java.ParenthesizedExpression pe) private ITypeUnitCompiler.compileGet2(Java.QualifiedThisReference qtr) private ITypeUnitCompiler.compileGet2(Java.SuperclassFieldAccessExpression scfae) private ITypeUnitCompiler.compileGetValue(Java.Rvalue rv) Convenience function that callsUnitCompiler.compileContext(Rvalue)andUnitCompiler.compileGet(Rvalue).IType[]IParameterizedType.getActualTypeArguments()IClass.IAnnotation.getAnnotationType()private static ITypeUnitCompiler.getComponentType(IType expressionType) private static IType[]UnitCompiler.getInterfaces(IType t1) IWildcardType.getLowerBound()IParameterizedType.getRawType()private ITypeUnitCompiler.getReferenceType(Location location, String simpleTypeName, Java.TypeArgument[] typeArguments, Java.Scope scope) JLS7 6.5.5.1 Simple type name (single identifier)private ITypeUnitCompiler.getReferenceType(Location location, Java.Scope scope, String[] identifiers, int n, Java.TypeArgument[] typeArguments) private ITypeUnitCompiler.getReturnType(Java.FunctionDeclarator fd) private static ITypeUnitCompiler.getSuperclass(IType type) private ITypeUnitCompiler.getTargetIType(Java.QualifiedThisReference qtr) Java.LocalVariableSlot.getType()private ITypeprivate ITypeUnitCompiler.getType(Java.Lvalue lv) private ITypeUnitCompiler.getType(Java.Rvalue rv) private ITypeprivate ITypeUnitCompiler.getType2(Java.AmbiguousName an) private ITypeUnitCompiler.getType2(Java.ArrayAccessExpression aae) private ITypeUnitCompiler.getType2(Java.Assignment a) private ITypeUnitCompiler.getType2(Java.BinaryOperation bo) private ITypeprivate ITypeUnitCompiler.getType2(Java.ConditionalExpression ce) private ITypeUnitCompiler.getType2(Java.Crement c) private ITypeUnitCompiler.getType2(Java.FieldAccess fa) private ITypeUnitCompiler.getType2(Java.FieldAccessExpression fae) private ITypeUnitCompiler.getType2(Java.LocalVariableAccess lva) private ITypeUnitCompiler.getType2(Java.NewClassInstance nci) private ITypeUnitCompiler.getType2(Java.NewInitializedArray nia) private ITypeUnitCompiler.getType2(Java.ParameterAccess pa) private ITypeUnitCompiler.getType2(Java.ParenthesizedExpression pe) private ITypeUnitCompiler.getType2(Java.QualifiedThisReference qtr) private ITypeUnitCompiler.getType2(Java.ReferenceType rt) private ITypeUnitCompiler.getType2(Java.SimpleType st) private ITypeUnitCompiler.getType2(Java.SuperclassFieldAccessExpression scfae) private IType[]private ITypeUnitCompiler.getUnboxedType(IType type) IWildcardType.getUpperBound()private ITypeUnitCompiler.load(Java.Locatable locatable, Java.LocalVariable localVariable) private ITypeUnitCompiler.typeArgumentToIType(Java.TypeArgument ta) private IType[]ReflectionIClass.typesToITypes(Type[] types) private ITypeReflectionIClass.typeToIType(Type type) Methods in org.codehaus.janino with parameters of type ITypeModifier and TypeMethodDescriptionCodeContext.allocateLocalVariable(short size, String name, IType type) Allocates space for a local variable of the given size (1 or 2) on the local variable array.private Java.LocalVariableUnitCompiler.allocateLocalVariable(boolean finaL, IType localVariableType) private Java.LocalVariableUnitCompiler.allocateLocalVariableAndMarkAsInitialized(boolean finaL, IType localVariableType) private Java.LocalVariableSlotUnitCompiler.allocateLocalVariableSlot(IType localVariableType, String localVariableName) private Java.LocalVariableSlotUnitCompiler.allocateLocalVariableSlotAndMarkAsInitialized(IType localVariableType, String localVariableName) private voidUnitCompiler.arraystore(Java.Locatable locatable, IType lhsComponentType) private voidUnitCompiler.assignmentConversion(Java.Locatable locatable, IType sourceType, IType targetType, Object constantValue) Implements "assignment conversion" (JLS7 5.2) (more precisely: "assignment contexts".)private IClassUnitCompiler.binaryNumericPromotionType(Java.Locatable locatable, IType type1, IType type2) private voidUnitCompiler.boxingConversion(Java.Locatable locatable, IType sourceType, IType targetType) private voidUnitCompiler.castConversion(Java.Locatable locatable, IType sourceType, IType targetType, Object constantValue) private voidUnitCompiler.checkcast(Java.Locatable locatable, IType targetType) private voidUnitCompiler.checkThrownException(Java.Locatable locatable, IType type, Java.Scope scope) private ITypeUnitCompiler.commonSupertype(IType t1, IType t2) private ITypeUnitCompiler.commonSupertype2(IType t1, IType t2) private voidUnitCompiler.compile(Java.ArrayInitializerOrRvalue aiorv, IType arrayType) private ITypeUnitCompiler.compileArithmeticBinaryOperation(Java.Locatable locatable, IType lhsType, String operator, Java.Rvalue rhs) The LHS operand of type lhsType is expected on the stack.private ITypeUnitCompiler.compileArithmeticOperation(Java.Locatable locatable, IType firstOperandType, Iterator<Java.Rvalue> operands, String operator) Executes an arithmetic operation on a sequence of operands.private voidUnitCompiler.compileGetValue(Java.ArrayInitializer ai, IType arrayType) private IClassUnitCompiler.compileStringConcatenation(Java.Locatable locatable, IType type, Java.Rvalue secondOperand, Iterator<Java.Rvalue> operands) private ObjectUnitCompiler.constantAssignmentConversion(Java.Locatable locatable, Object value, IType targetType) Implements "assignment conversion" (JLS7 5.2) on a constant value.private IClassUnitCompiler.convertToPrimitiveNumericType(Java.Locatable locatable, IType type) If the given type is a primitive type, return that type.private IClass.IMethodUnitCompiler.findIMethod(IType targetType, Java.Invocation invocation) Finds aIClass.IMethodin the given targetType, its superclasses or superinterfaces which is applicable with the given invocation.private IClassUnitCompiler.findMemberType(IType iType, String name, Java.TypeArgument[] typeArguments, Location location) Finds a named type in the givenIClassorIParameterizedType.private static ITypeUnitCompiler.getComponentType(IType expressionType) private static IType[]UnitCompiler.getInterfaces(IType t1) private static ITypeUnitCompiler.getSuperclass(IType type) private ITypeUnitCompiler.getUnboxedType(IType type) private static intprivate static intprivate voidUnitCompiler.instanceoF(Java.Locatable locatable, IType rhsType) private voidUnitCompiler.invokeConstructor(Java.Locatable locatable, Java.Scope scope, Java.Rvalue enclosingInstance, IType targetType, Java.Rvalue[] arguments) Expects the object to initialize on the stack.private static booleanprivate static booleanUnitCompiler.isAssignableFrom(IType targetType, IType sourceType) private IClassUnitCompiler.isBoxingConvertible(IType sourceType) private booleanUnitCompiler.isCastReferenceConvertible(IType sourceType, IType targetType) JLS7 5.5private booleanUnitCompiler.isConvertibleToPrimitiveNumeric(IType sourceType) private booleanUnitCompiler.isIdentityConvertible(IType sourceType, IType targetType) Checks whether "identity conversion" (5.1.1) is possible.private static booleanUnitCompiler.isInterface(IType type) private booleanUnitCompiler.isNarrowingPrimitiveConvertible(IType sourceType, IType targetType) Checks whether "narrowing primitive conversion" (JLS7 5.1.3) is possible.private booleanUnitCompiler.isNarrowingReferenceConvertible(IType sourceType, IType targetType) Checks whether "narrowing reference conversion" (JLS7 5.1.5) is possible.private booleanUnitCompiler.isNullConvertible(IType sourceType, IType targetType) private static booleanUnitCompiler.isPrimitive(IType type) private IClassUnitCompiler.isUnboxingConvertible(IType sourceType) private booleanUnitCompiler.isWideningPrimitiveConvertible(IClass sourceType, IType targetType) private booleanUnitCompiler.isWideningReferenceConvertible(IType sourceType, IType targetType) Checks if "widening reference conversion" (5.1.4) is possible.private voidUnitCompiler.load(Java.Locatable locatable, IType localVariableType, int localVariableIndex) private voidUnitCompiler.multianewarray(Java.Locatable locatable, int dimExprCount, int dims, IType componentType) private voidUnitCompiler.neW(Java.Locatable locatable, IType iType) private voidUnitCompiler.newarray(Java.Locatable locatable, IType componentType) private IClassUnitCompiler.newArray(Java.Locatable locatable, int dimExprCount, int dims, IType componentType) Expects dimExprCount values of typeinton the operand stack.private voidUnitCompiler.numericPromotion(Java.Locatable locatable, IType sourceType, IClass targetType) private voidUnitCompiler.pop(Java.Locatable locatable, IType type) private static IClassstatic IClassprivate static IClassprivate static IClass[]UnitCompiler.rawTypesOf(IType[] iTypes) private voidUnitCompiler.referenceThis(Java.Locatable locatable, Java.AbstractTypeDeclaration declaringType, Java.TypeBodyDeclaration declaringTypeBodyDeclaration, IType targetIType) private voidUnitCompiler.reverseUnaryNumericPromotion(Java.Locatable locatable, IClass sourceType, IType targetType) private voidUnitCompiler.store(Java.Locatable locatable, IType lvType, short lvIndex) private voidUnitCompiler.stringConversion(Java.Locatable locatable, IType sourceType) Converts object of type "sourceType" to type "String" (JLS7 15.18.1.1).private booleanUnitCompiler.tryAssignmentConversion(Java.Locatable locatable, IType sourceType, IType targetType, Object constantValue) private booleanUnitCompiler.tryBoxingConversion(Java.Locatable locatable, IType sourceType, IType targetType) private booleanUnitCompiler.tryCastConversion(Java.Locatable locatable, IType sourceType, IType targetType, Object constantValue) private booleanUnitCompiler.tryConstantAssignmentConversion(Java.Locatable locatable, Object constantValue, IType targetType) Checks if "constant assignment conversion" (JLS7 5.2, paragraph 1) is possible.private booleanUnitCompiler.tryIdentityConversion(IType sourceType, IType targetType) Implements "identity conversion" (5.1.1).private booleanUnitCompiler.tryNarrowingPrimitiveConversion(Java.Locatable locatable, IType sourceType, IType targetType) Implements "narrowing primitive conversion" (JLS7 5.1.3).private booleanUnitCompiler.tryNarrowingReferenceConversion(Java.Locatable locatable, IType sourceType, IType targetType) Implements "narrowing reference conversion" (5.1.5).private booleanUnitCompiler.tryNullConversion(IType sourceType, IType targetType) JLS11 5.2: "Finally, a value of the null type (the null reference is the only such value) may be assigned to any reference type".private booleanUnitCompiler.tryWideningPrimitiveConversion(Java.Locatable locatable, IType sourceType, IType targetType) Implements "widening primitive conversion" (5.1.2).private IClassUnitCompiler.unaryNumericPromotion(Java.Locatable locatable, IType type) Implements "unary numeric promotion" (JLS7 5.6.1).private IClassUnitCompiler.unaryNumericPromotionType(Java.Locatable locatable, IType type) private voidUnitCompiler.unboxingConversion(Java.Locatable locatable, IType sourceType, IClass targetType) UnitCompiler.verificationTypeInfo(IType type) private voidUnitCompiler.xaload(Java.Locatable locatable, IType componentType) private voidUnitCompiler.xreturn(Java.Locatable locatable, IType returnType) Constructors in org.codehaus.janino with parameters of type ITypeModifierConstructorDescriptionLocalVariable(boolean finaL, IType type) LocalVariableSlot(String name, short slotNumber, IType type) NewClassInstance(Location location, Java.Rvalue qualification, IType iType, Java.Rvalue[] arguments) SimpleType(Location location, IType iType)