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 TypeInterfaceDescriptioninterface
interface
Type bounds can either be a class or interface type, or a type variable.interface
interface
Classes in org.codehaus.janino that implement ITypeModifier and TypeClassDescriptionclass
class
A simplified equivalent to "java.lang.reflect".private static class
(package private) class
Fields in org.codehaus.janino declared as ITypeModifier and TypeFieldDescription(package private) IType[]
Java.InterfaceDeclaration.interfaces
Set during "compile()".Java.NewClassInstance.iType
The resolvedJava.NewClassInstance.type
.final IType
Java.SimpleType.iType
(package private) IType
Java.FunctionDeclarator.returnType
Set by "compile()".(package private) IType
Java.QualifiedThisReference.targetIType
The resolvedJava.QualifiedThisReference.qualification
.final IType
Java.LocalVariable.type
The type of this local variable.private final IType
Java.LocalVariableSlot.type
Methods in org.codehaus.janino that return ITypeModifier and TypeMethodDescriptionprivate IType
UnitCompiler.commonSupertype
(IType t1, IType t2) private IType
UnitCompiler.commonSupertype2
(IType t1, IType t2) private IType
UnitCompiler.compileArithmeticBinaryOperation
(Java.Locatable locatable, IType lhsType, String operator, Java.Rvalue rhs) The LHS operand of type lhsType is expected on the stack.private IType
UnitCompiler.compileArithmeticOperation
(Java.Locatable locatable, IType firstOperandType, Iterator<Java.Rvalue> operands, String operator) Executes an arithmetic operation on a sequence of operands.private IType
UnitCompiler.compileGet
(Java.Rvalue rv) Generates code that determines the value of theJava.Rvalue
and puts it on the operand stack.private IType
UnitCompiler.compileGet2
(Java.AmbiguousName an) private IType
UnitCompiler.compileGet2
(Java.ArrayAccessExpression aae) private IType
UnitCompiler.compileGet2
(Java.Assignment a) private IType
UnitCompiler.compileGet2
(Java.BinaryOperation bo) private IType
UnitCompiler.compileGet2
(Java.Cast c) private IType
UnitCompiler.compileGet2
(Java.ConditionalExpression ce) private IType
UnitCompiler.compileGet2
(Java.Crement c) private IType
UnitCompiler.compileGet2
(Java.FieldAccess fa) private IType
UnitCompiler.compileGet2
(Java.FieldAccessExpression fae) private IType
UnitCompiler.compileGet2
(Java.LocalVariableAccess lva) private IType
UnitCompiler.compileGet2
(Java.NewClassInstance nci) private IType
UnitCompiler.compileGet2
(Java.NewInitializedArray nia) private IType
UnitCompiler.compileGet2
(Java.ParameterAccess pa) private IType
UnitCompiler.compileGet2
(Java.ParenthesizedExpression pe) private IType
UnitCompiler.compileGet2
(Java.QualifiedThisReference qtr) private IType
UnitCompiler.compileGet2
(Java.SuperclassFieldAccessExpression scfae) private IType
UnitCompiler.compileGetValue
(Java.Rvalue rv) Convenience function that callsUnitCompiler.compileContext(Rvalue)
andUnitCompiler.compileGet(Rvalue)
.IType[]
IParameterizedType.getActualTypeArguments()
IClass.IAnnotation.getAnnotationType()
private static IType
UnitCompiler.getComponentType
(IType expressionType) private static IType[]
UnitCompiler.getInterfaces
(IType t1) IWildcardType.getLowerBound()
IParameterizedType.getRawType()
private IType
UnitCompiler.getReferenceType
(Location location, String simpleTypeName, Java.TypeArgument[] typeArguments, Java.Scope scope) JLS7 6.5.5.1 Simple type name (single identifier)private IType
UnitCompiler.getReferenceType
(Location location, Java.Scope scope, String[] identifiers, int n, Java.TypeArgument[] typeArguments) private IType
UnitCompiler.getReturnType
(Java.FunctionDeclarator fd) private static IType
UnitCompiler.getSuperclass
(IType type) private IType
UnitCompiler.getTargetIType
(Java.QualifiedThisReference qtr) Java.LocalVariableSlot.getType()
private IType
private IType
UnitCompiler.getType
(Java.Lvalue lv) private IType
UnitCompiler.getType
(Java.Rvalue rv) private IType
private IType
UnitCompiler.getType2
(Java.AmbiguousName an) private IType
UnitCompiler.getType2
(Java.ArrayAccessExpression aae) private IType
UnitCompiler.getType2
(Java.Assignment a) private IType
UnitCompiler.getType2
(Java.BinaryOperation bo) private IType
private IType
UnitCompiler.getType2
(Java.ConditionalExpression ce) private IType
UnitCompiler.getType2
(Java.Crement c) private IType
UnitCompiler.getType2
(Java.FieldAccess fa) private IType
UnitCompiler.getType2
(Java.FieldAccessExpression fae) private IType
UnitCompiler.getType2
(Java.LocalVariableAccess lva) private IType
UnitCompiler.getType2
(Java.NewClassInstance nci) private IType
UnitCompiler.getType2
(Java.NewInitializedArray nia) private IType
UnitCompiler.getType2
(Java.ParameterAccess pa) private IType
UnitCompiler.getType2
(Java.ParenthesizedExpression pe) private IType
UnitCompiler.getType2
(Java.QualifiedThisReference qtr) private IType
UnitCompiler.getType2
(Java.ReferenceType rt) private IType
UnitCompiler.getType2
(Java.SimpleType st) private IType
UnitCompiler.getType2
(Java.SuperclassFieldAccessExpression scfae) private IType[]
private IType
UnitCompiler.getUnboxedType
(IType type) IWildcardType.getUpperBound()
private IType
UnitCompiler.load
(Java.Locatable locatable, Java.LocalVariable localVariable) private IType
UnitCompiler.typeArgumentToIType
(Java.TypeArgument ta) private IType[]
ReflectionIClass.typesToITypes
(Type[] types) private IType
ReflectionIClass.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 void
UnitCompiler.arraystore
(Java.Locatable locatable, IType lhsComponentType) private Object
UnitCompiler.assignmentConversion
(Java.Locatable locatable, Object value, IType targetType) Implements "assignment conversion" (JLS7 5.2) on a constant value.private void
UnitCompiler.assignmentConversion
(Java.Locatable locatable, IType sourceType, IType targetType, Object constantValue) Implements "assignment conversion" (JLS7 5.2).private IClass
UnitCompiler.binaryNumericPromotionType
(Java.Locatable locatable, IType type1, IType type2) private void
UnitCompiler.boxingConversion
(Java.Locatable locatable, IType sourceType, IType targetType) private void
UnitCompiler.castConversion
(Java.Locatable locatable, IType sourceType, IType targetType, Object constantValue) private void
UnitCompiler.checkcast
(Java.Locatable locatable, IType targetType) private void
UnitCompiler.checkThrownException
(Java.Locatable locatable, IType type, Java.Scope scope) private IType
UnitCompiler.commonSupertype
(IType t1, IType t2) private IType
UnitCompiler.commonSupertype2
(IType t1, IType t2) private IType
UnitCompiler.compileArithmeticBinaryOperation
(Java.Locatable locatable, IType lhsType, String operator, Java.Rvalue rhs) The LHS operand of type lhsType is expected on the stack.private IType
UnitCompiler.compileArithmeticOperation
(Java.Locatable locatable, IType firstOperandType, Iterator<Java.Rvalue> operands, String operator) Executes an arithmetic operation on a sequence of operands.private void
UnitCompiler.compileGetValue
(Java.ArrayInitializer ai, IType arrayType) private IClass
UnitCompiler.compileStringConcatenation
(Java.Locatable locatable, IType type, Java.Rvalue secondOperand, Iterator<Java.Rvalue> operands) private IClass
UnitCompiler.convertToPrimitiveNumericType
(Java.Locatable locatable, IType type) If the given type is a primitive type, return that type.private IClass.IMethod
UnitCompiler.findIMethod
(IType targetType, Java.Invocation invocation) Finds aIClass.IMethod
in the given targetType, its superclasses or superinterfaces which is applicable with the given invocation.private IClass
UnitCompiler.findMemberType
(IType iType, String name, Java.TypeArgument[] typeArguments, Location location) Finds a named type in the givenIClass
orIParameterizedType
.private static IType
UnitCompiler.getComponentType
(IType expressionType) private static IType[]
UnitCompiler.getInterfaces
(IType t1) private static IType
UnitCompiler.getSuperclass
(IType type) private IType
UnitCompiler.getUnboxedType
(IType type) private static int
private static int
private void
UnitCompiler.instanceoF
(Java.Locatable locatable, IType rhsType) private void
UnitCompiler.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 boolean
private static boolean
UnitCompiler.isAssignableFrom
(IType targetType, IType sourceType) private IClass
UnitCompiler.isBoxingConvertible
(IType sourceType) private boolean
UnitCompiler.isCastReferenceConvertible
(IType sourceType, IType targetType) JLS7 5.5private boolean
UnitCompiler.isConvertibleToPrimitiveNumeric
(IType sourceType) private boolean
UnitCompiler.isIdentityConvertible
(IType sourceType, IType targetType) Checks whether "identity conversion" (5.1.1) is possible.private static boolean
UnitCompiler.isInterface
(IType type) private boolean
UnitCompiler.isNarrowingPrimitiveConvertible
(IType sourceType, IType targetType) Checks whether "narrowing primitive conversion" (JLS7 5.1.3) is possible.private boolean
UnitCompiler.isNarrowingReferenceConvertible
(IType sourceType, IType targetType) Checks whether "narrowing reference conversion" (JLS7 5.1.5) is possible.private static boolean
UnitCompiler.isPrimitive
(IType type) private IClass
UnitCompiler.isUnboxingConvertible
(IType sourceType) private boolean
UnitCompiler.isWideningPrimitiveConvertible
(IClass sourceType, IType targetType) private boolean
UnitCompiler.isWideningReferenceConvertible
(IType sourceType, IType targetType) Checks if "widening reference conversion" (5.1.4) is possible.private void
UnitCompiler.load
(Java.Locatable locatable, IType localVariableType, int localVariableIndex) private void
UnitCompiler.multianewarray
(Java.Locatable locatable, int dimExprCount, int dims, IType componentType) private void
UnitCompiler.neW
(Java.Locatable locatable, IType iType) private void
UnitCompiler.newarray
(Java.Locatable locatable, IType componentType) private IClass
UnitCompiler.newArray
(Java.Locatable locatable, int dimExprCount, int dims, IType componentType) Expects dimExprCount values of typeint
on the operand stack.private void
UnitCompiler.numericPromotion
(Java.Locatable locatable, IType sourceType, IClass targetType) private void
UnitCompiler.pop
(Java.Locatable locatable, IType type) private static IClass
static IClass
private static IClass
private static IClass[]
UnitCompiler.rawTypesOf
(IType[] iTypes) private void
UnitCompiler.referenceThis
(Java.Locatable locatable, Java.AbstractTypeDeclaration declaringType, Java.TypeBodyDeclaration declaringTypeBodyDeclaration, IType targetIType) private void
UnitCompiler.reverseUnaryNumericPromotion
(Java.Locatable locatable, IClass sourceType, IType targetType) private void
UnitCompiler.store
(Java.Locatable locatable, IType lvType, short lvIndex) private void
UnitCompiler.stringConversion
(Java.Locatable locatable, IType sourceType) Converts object of type "sourceType" to type "String" (JLS7 15.18.1.1).private boolean
UnitCompiler.tryAssignmentConversion
(Java.Locatable locatable, IType sourceType, IType targetType, Object constantValue) private boolean
UnitCompiler.tryBoxingConversion
(Java.Locatable locatable, IType sourceType, IType targetType) private boolean
UnitCompiler.tryCastConversion
(Java.Locatable locatable, IType sourceType, IType targetType, Object constantValue) private boolean
UnitCompiler.tryConstantAssignmentConversion
(Java.Locatable locatable, Object constantValue, IType targetType) Checks if "constant assignment conversion" (JLS7 5.2, paragraph 1) is possible.private boolean
UnitCompiler.tryIdentityConversion
(IType sourceType, IType targetType) Implements "identity conversion" (5.1.1).private boolean
UnitCompiler.tryNarrowingPrimitiveConversion
(Java.Locatable locatable, IType sourceType, IType targetType) Implements "narrowing primitive conversion" (JLS7 5.1.3).private boolean
UnitCompiler.tryNarrowingReferenceConversion
(Java.Locatable locatable, IType sourceType, IType targetType) Implements "narrowing reference conversion" (5.1.5).private boolean
UnitCompiler.tryWideningPrimitiveConversion
(Java.Locatable locatable, IType sourceType, IType targetType) Implements "widening primitive conversion" (5.1.2).private IClass
UnitCompiler.unaryNumericPromotion
(Java.Locatable locatable, IType type) Implements "unary numeric promotion" (JLS7 5.6.1).private IClass
UnitCompiler.unaryNumericPromotionType
(Java.Locatable locatable, IType type) private void
UnitCompiler.unboxingConversion
(Java.Locatable locatable, IType sourceType, IClass targetType) UnitCompiler.verificationTypeInfo
(IType type) private void
UnitCompiler.xaload
(Java.Locatable locatable, IType componentType) private void
UnitCompiler.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)