Java.LocalVariableSlot |
CodeContext.allocateLocalVariable(short size,
java.lang.String name,
IType type) |
Allocates space for a local variable of the given size (1 or 2) on the local variable array.
|
private Java.LocalVariable |
UnitCompiler.allocateLocalVariable(boolean finaL,
IType localVariableType) |
|
private Java.LocalVariable |
UnitCompiler.allocateLocalVariableAndMarkAsInitialized(boolean finaL,
IType localVariableType) |
|
private Java.LocalVariableSlot |
UnitCompiler.allocateLocalVariableSlot(IType localVariableType,
java.lang.String localVariableName) |
|
private Java.LocalVariableSlot |
UnitCompiler.allocateLocalVariableSlotAndMarkAsInitialized(IType localVariableType,
java.lang.String localVariableName) |
|
private void |
UnitCompiler.arraystore(Java.Locatable locatable,
IType lhsComponentType) |
|
private void |
UnitCompiler.assignmentConversion(Java.Locatable locatable,
IType sourceType,
IType targetType,
java.lang.Object constantValue) |
Implements "assignment conversion" (JLS7 5.2) (more precisely: "assignment contexts".)
|
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,
java.lang.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 void |
UnitCompiler.compile(Java.ArrayInitializerOrRvalue aiorv,
IType arrayType) |
|
private IType |
UnitCompiler.compileArithmeticBinaryOperation(Java.Locatable locatable,
IType lhsType,
java.lang.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,
java.util.Iterator<Java.Rvalue> operands,
java.lang.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,
java.util.Iterator<Java.Rvalue> operands) |
|
private java.lang.Object |
UnitCompiler.constantAssignmentConversion(Java.Locatable locatable,
java.lang.Object value,
IType targetType) |
Implements "assignment conversion" (JLS7 5.2) on a constant value.
|
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 a IClass.IMethod in the given targetType, its superclasses or superinterfaces which is
applicable with the given invocation.
|
private IClass |
UnitCompiler.findMemberType(IType iType,
java.lang.String name,
Java.TypeArgument[] typeArguments,
Location location) |
|
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 |
UnitCompiler.ilfd(IType t) |
|
private static int |
UnitCompiler.ilfda(IType t) |
|
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 |
UnitCompiler.isArray(IType type) |
|
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.5
|
private 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 boolean |
UnitCompiler.isNullConvertible(IType sourceType,
IType targetType) |
|
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 type int 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 |
CodeContext.rawTypeOf(IType iType) |
|
static IClass |
IClass.rawTypeOf(IType type) |
|
private static IClass |
UnitCompiler.rawTypeOf(IType iType) |
|
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,
java.lang.Object constantValue) |
|
private boolean |
UnitCompiler.tryBoxingConversion(Java.Locatable locatable,
IType sourceType,
IType targetType) |
|
private boolean |
UnitCompiler.tryCastConversion(Java.Locatable locatable,
IType sourceType,
IType targetType,
java.lang.Object constantValue) |
|
private boolean |
UnitCompiler.tryConstantAssignmentConversion(Java.Locatable locatable,
java.lang.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.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 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) |
|
private ClassFile.StackMapTableAttribute.VerificationTypeInfo |
UnitCompiler.verificationTypeInfo(IType type) |
|
private void |
UnitCompiler.xaload(Java.Locatable locatable,
IType componentType) |
|
private void |
UnitCompiler.xreturn(Java.Locatable locatable,
IType returnType) |
|