Uses of Interface
org.codehaus.janino.Java.Locatable
Packages that use Java.Locatable
-
Uses of Java.Locatable in org.codehaus.janino
Subinterfaces of Java.Locatable in org.codehaus.janinoModifier and TypeInterfaceDescriptionstatic interfaceRepresentation of a Java annotation.static interfaceBase for package member ("top-level") and member ("nested") annotation type declarations.static interfaceThe union ofJava.ArrayInitializerandJava.Rvalue.static interfaceEverything that can be compiled to code, e.g.static interfaceBase for the various class declarations (top-level class, local class, anonymous class, nested class, top-level enum, nested enum).static interfaceBase of the possible element values in aJava.NormalAnnotation.static interfaceBase for package member (a.k.a.static interface(package private) static interfaceRepresents the declaration of an inner class, i.e.static interfaceRepresents a class or interface declaration where the immediately enclosing scope is another class or interface declaration.static interfaceBase for the various modifiers (access modifiers, annotations).static interfaceRepresents the declaration of a class or an interface that has a name.static interfaceRepresents a class or interface declaration on compilation unit level.static interfaceRepresentation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration".static interfaceBase for the various kinds of type declarations, e.g.Classes in org.codehaus.janino that implement Java.LocatableModifier and TypeClassDescriptionstatic classConvenience class.static classBase for the various class declaration kinds.static classBase class for the various IMPORT declarations.static classRepresents a single static import declaration likestatic classRepresents a "single-type import declaration" like "import java.util.Map;".static classRepresents a static-import-on-demand declaration likestatic classRepresents a type-import-on-demand declaration likeimport java.util.*;.static classAbstract implementation ofJava.TypeBodyDeclaration.static classAbstract implementation ofJava.TypeDeclaration.static classRepresentation of the modifier flags and annotations that are associated with a declaration.static final classRepresentation of a JLS7 8.8.7.1.static final classRepresentation of a JLS7 6.5.2 "ambiguous name".static final classRepresentation of a JLS7 15.9.5 "anonymous class declaration".static final classRepresentation of a JLS7 15.13 (JLS8: 15.10.3) "array access expression".static final classRepresentation of a "method reference expression", as described in JLS9 15.13, with the form "<var>arrayType</var>::new".static final classRepresentation of a JLS7 10.6 "array initializer".static final classRepresentation of the JLS7 10.7 array type "length" pseudo-member.static final classRepresentation of a JLS7 10.1 "array type".static final classRepresentation of the JLS7 14.10 ASSERT statement.static final classRepresentation of all JLS7 15.26 assignments.static classstatic final classRepresentation of all non-operand-modifying binary operations.static final classRepresentation of a Java "block" (JLS7 14.2).static final classRepresentation of a "boolean literal" (JLS7 3.10.3) (typeboolean).static classBase class forJava.Rvalues that compile better as conditional branches.static classBase class for statements that can be terminated abnormally with abreakstatement.static final classRepresentation of the JLS7 14.15 BREAK statement.static final classRepresentation of a JLS7 15.16 "cast expression".static classRepresentation of a JLS7 14.20.1 CATCH clause.static final classRepresentation of a "catch" parameter.static final classRepresentation of a "character literal" (JLS7 3.10.4) (typechar).static final classRepresentation of a "method reference expression", as described in JLS9 15.13, with the form "<var>classType</var>::new".static final classRepresentation of a JLS7 15.8.2 "class literal".static final classRepresentation of a JLS7 15.25 "conditional operation".static final classRepresentation of a constructor declarator.static classAbstract bas class forJava.SuperConstructorInvocationandJava.AlternateConstructorInvocation.static classBase class for statements that support the "continue" statement.static final classRepresentation of the JLS7 14.16 CONTINUE statement.static final classRepresentation of a JLS7 15.14.2 "postfix increment operation", a JLS7 15.14.3 "postfix decrement operation", a JLS7 15.15.1 "prefix increment operation" or a JLS7 15.15.2 "prefix decrement operation".static final classRepresentation of a JLS7 14.13 DO statement.static final classAn element value in the form of an array initializer, e.g.static final classRepresentation of the "empty statement", i.e.static final classRepresentation of an "enum constant", see JLS7 8.9.1.static final classRepresentation of a (Java 9+) "exports directive", as explained in JLS9 7.7.2.static final classRepresentation of the JLS7 14.8 "expression statement".static final classRepresentation of an access to a field of a class or an interface.static final classRepresentation of a JLS7 15.11 "field access expression", including the "array length" pseudo field access.static final classThis class is derived from "Statement", because it provides for the initialization of the field.static final classRepresentation of a "floating-point literal" (JLS7 3.10.2) (typesfloatanddouble).static final classRepresentation of a JLS7 14.14.2 "enhanced FOR statement".static final classRepresentation of a JLS7 14.14.1 "basic FOR statement".static classAbstract base class forJava.ConstructorDeclaratorandJava.MethodDeclarator.static final classRepresentation of a (formal) function parameter.static final classRepresentation of the (formal) function parameters.static final classRepresentation of a JLS7 14.9 IF statement.static final classRepresentation of an "instance initializer" (JLS7 8.6) or "static initializer" (JLS7 8.7).static final classRepresentation of a JLS7 15.20.2 "type comparison operation".static final classRepresentation of an "integer literal" (JLS7 3.10.1) (typesintandlong).static classBase for the various interface declaration kinds.static classAbstract base class forJava.MethodInvocationandJava.SuperclassMethodInvocation.static final classRepresentation of a JLS7 14.7 "labeled statement".static classRepresentation of a (Java 8+) "lambda expression", see JLS9 15.27.static classAbstract base class for the various Java literals; see JLS7 3.10.static final classRepresentation of a "local class declaration" i.e.static final classRepresentation of the JLS7 14.3 "local class declaration statement".static final classRepresentation of a local variable access -- used during compilation.static final classRepresentation of a JLS7 14.4 "local variable declaration statement".static classAbstract implementation ofJava.Locatable.static classRepresentation of an "lvalue", i.e.static final classRepresentation of a "marker annotation", i.e.static final classRepresentation of a member annotation type declaration, a.k.a.static classRepresentation of a "member class declaration", i.e.static final classRepresentation of a "member enum declaration", i.e.static classRepresentation of a "member interface declaration", i.e.static final classRepresentation of a method declarator.static final classRepresentation of a JLS7 15.12 "method invocation expression".static final classRepresentation of a "method reference expression", as described in JLS9 15.13, with the form "<var>referenceType</var>::identifier.static final classRepresentation of a "module declaration", as described in JLS9 7.7.static classBase for the various named class declarations.static final classRepresentation of a JLS7 15.9 "anonymous class instance creation expression".static final classRepresentation of a JLS7 15.10 "array creation expression".static final classRepresentation of a JLS7 "class instance creation expression".static final classRepresentation of a JLS7 15.10 "array creation expression".static final classA "normal annotation", i.e.static final classRepresentation of a "null literal" (JLS7 3.10.7).static final classRepresentation of a (Java 9+) "opens directive", as explained in JLS9 7.7.2.static final classRepresentation of a JLS7 6.5.2.1.5 "package name".static classRepresentation of a package declaration likepackage com.acme.tools;.static final classRepresentation of a package member annotation type declaration, a.k.a.static classImplementation of a "package member class declaration", a.k.a.static final classImplementation of a "package member enum declaration", a.k.a.static classRepresentation of a "package member interface declaration", a.k.a.static final class"Artificial" operation for accessing the parameters of the synthetic constructor of an anonymous class.static final classRepresentation of a JLS7 15.8.5 "parenthesized expression".static final classRepresentation of a JLS7 4.2 "primitive type", i.e a primitive type "usage", which has a location.static final classRepresentation of a (Java 9+) "provides directive", as explained in JLS9 7.7.4.static final classRepresentation of an JLS7 15.8.4 access to the current object or an enclosing instance.static final classRepresentation of a JLS7 4.3 reference type.static final classRepresentation of a (Java 9+) "requires directive", as explained in JLS9 7.7.1.static final classRepresentation of the JLS7 14.17 RETURN statement.static classRepresentation of an "rvalue", i.e.static final classRepresentation of the first part of a JLS7 15.9 "Qualified class instance creation expression": The "a.new MyClass" part of "a.new MyClass(...)" expression.static final classThis class is not used when code is parsed; it is intended for "programmatic" literals.static final classThis class is not used when code is parsed; it is intended for "programmatic" types.static final classRepresentation of a "single-element annotation", i.e.static classEverything that can occur in the body of a method or in a block.static final classRepresentation of a "string literal" (JLS7 3.10.5) (typeString).static final classRepresentation of an JLS7 "superclass field access expression", e.g.static final classRepresentation of a JLS7 15.12.1.1.3 "superclass method invocation".static final classRepresentation of a JLS7 8.8.7.1.static final classThe JLS7 14.10switchStatement.static classRepresentation of a "switch block statement group" as defined in JLS7 14.11.static final classRepresentation of a JLS7 14.9 SYNCHRONIZED statement.static final classRepresentation of a "text block" (JLS17 3.10.6 Text Blocks) (typeString).static final classRepresentation of an JLS7 15.8.3 access to the innermost enclosing instance.static final classRepresentation of a JLS7 14.18 THROW statement.static final classRepresentation of a JLS7 14.20 TRY statement.static classRepresentation of a JLS9 14.20.2 "local-variable-declarator resource" in a TRY-with-resources statement.static classRepresentation of a JLS9 14.20.2 "resource" in a TRY-with-resources statement.static classRepresentation of a JLS9 14.20.2 "variable-access resource" in a TRY-with-resources statement.static classRepresentation of a Java type.static final classRepresentation of a JLS7 15.15.3 "unary plus operator", a JLS7 15.15.4 "unary minus operator", a JLS7 15.15.5 "bitwise complement operator" or a JLS7 15.15.6 "logical complement operator".static final classRepresentation of a (Java 9+) "uses directive", as explained in JLS9 7.7.3.static final classUsed by FieldDeclaration and LocalVariableDeclarationStatement.static final classRepresentation of the JLS7 14.2 WHILE statement.Methods in org.codehaus.janino with parameters of type Java.LocatableModifier and TypeMethodDescriptionprivate voidUnitCompiler.aconstnull(Java.Locatable locatable) private voidUnitCompiler.add(Java.Locatable locatable) private voidUnitCompiler.addLineNumberOffset(Java.Locatable locatable) private static ClassFile.MethodInfoUnitCompiler.addMethodInfo(Java.Locatable locatable, ClassFile classFile, short accessFlags, String methodName, MethodDescriptor methodMd) private voidUnitCompiler.andOrXor(Java.Locatable locatable, String operator) private voidUnitCompiler.anewarray(Java.Locatable locatable, IClass componentType) private voidUnitCompiler.arraylength(Java.Locatable locatable) 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 voidUnitCompiler.athrow(Java.Locatable locatable) 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 voidUnitCompiler.cmp(Java.Locatable locatable, int opIdx) 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 static CompileExceptionUnitCompiler.compileException(Java.Locatable locatable, String message) private IClassUnitCompiler.compileStringConcatenation(Java.Locatable locatable, IType type, Java.Rvalue secondOperand, Iterator<Java.Rvalue> operands) private voidUnitCompiler.consT(Java.Locatable locatable, double value) private voidUnitCompiler.consT(Java.Locatable locatable, float value) private voidUnitCompiler.consT(Java.Locatable locatable, int value) private voidUnitCompiler.consT(Java.Locatable locatable, long value) 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 voidUnitCompiler.consT(Java.Locatable locatable, String s) private voidUnitCompiler.consT(Java.Locatable locatable, IClass iClass) private voidUnitCompiler.consT(Java.Locatable locatable, IClass t, int value) 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 voidUnitCompiler.dup(Java.Locatable locatable) Duplicates the top operand: ...private voidUnitCompiler.dup2(Java.Locatable locatable) Duplicates the top two operands: ...private voidUnitCompiler.dupn(Java.Locatable locatable, int n) Duplicates the top n operands.private voidUnitCompiler.dupx(Java.Locatable locatable) Copies the top operand one position down: b a => a b aprivate voidUnitCompiler.dupx2(Java.Locatable locatable) Copies the top operand two positions down: c b a => a c b a.private voidUnitCompiler.dupxx(Java.Locatable locatable, int positions) Copies the top operand positions down.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 IClass.IInvocableUnitCompiler.findMostSpecificIInvocable(Java.Locatable locatable, IClass.IInvocable[] iInvocables, Java.Rvalue[] arguments, Java.Scope contextScope) Determines the arguments' types, determine the applicable invocables and choose the most specific invocable and adjust arguments as needed (for varargs case).private voidUnitCompiler.getfield(Java.Locatable locatable, IClass.IField iField) private voidUnitCompiler.getfield(Java.Locatable locatable, IClass declaringIClass, String fieldName, IClass fieldType, boolean statiC) private voidUnitCompiler.gotO(Java.Locatable locatable, CodeContext.Offset dst) private voidUnitCompiler.if_acmpxx(Java.Locatable locatable, int opIdx, CodeContext.Offset dst) private voidUnitCompiler.if_icmpxx(Java.Locatable locatable, int opIdx, CodeContext.Offset dst) private voidUnitCompiler.ifnonnull(Java.Locatable locatable, CodeContext.Offset dst) private voidUnitCompiler.ifnull(Java.Locatable locatable, CodeContext.Offset dst) private voidUnitCompiler.ifNumeric(Java.Locatable locatable, int opIdx, CodeContext.Offset dst, boolean orientation) private voidUnitCompiler.ifxx(Java.Locatable locatable, int opIdx, CodeContext.Offset dst) private voidUnitCompiler.iinc(Java.Locatable locatable, Java.LocalVariable lv, String operator) private voidUnitCompiler.instanceoF(Java.Locatable locatable, IType rhsType) 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 voidUnitCompiler.invokeConstructor(Java.Locatable locatable, IClass.IConstructor iConstructor) Invokes the iConstructor; assumes thatthisand the correct number and types of arguments are on the operand stack.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 voidUnitCompiler.invokeMethod(Java.Locatable locatable, IClass.IMethod iMethod) Invokes the iMethod; assumes thatthis(unless iMethod is static) and the correct number and types of arguments are on the operand stack.private voidUnitCompiler.l2i(Java.Locatable locatable) private voidUnitCompiler.load(Java.Locatable locatable, IType localVariableType, int localVariableIndex) private ITypeUnitCompiler.load(Java.Locatable locatable, Java.LocalVariable localVariable) private voidUnitCompiler.lookupswitch(Java.Locatable locatable, SortedMap<Integer, CodeContext.Offset> caseLabelMap, CodeContext.Offset defaultLabelOffset) private voidUnitCompiler.monitorenter(Java.Locatable locatable) private voidUnitCompiler.monitorexit(Java.Locatable locatable) private voidUnitCompiler.mulDivRemAddSub(Java.Locatable locatable, String operator) private voidUnitCompiler.multianewarray(Java.Locatable locatable, int dimExprCount, int dims, IType componentType) private voidUnitCompiler.neg(Java.Locatable locatable, IClass operandType) 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 voidUnitCompiler.putfield(Java.Locatable locatable, IClass.IField iField) private voidUnitCompiler.referenceThis(Java.Locatable locatable, IClass currentIClass) private voidUnitCompiler.referenceThis(Java.Locatable locatable, Java.AbstractTypeDeclaration declaringType, Java.TypeBodyDeclaration declaringTypeBodyDeclaration, IType targetIType) private voidUnitCompiler.returN(Java.Locatable locatable) private voidUnitCompiler.reverseUnaryNumericPromotion(Java.Locatable locatable, IClass sourceType, IType targetType) private voidUnitCompiler.shift(Java.Locatable locatable, String operator) private voidUnitCompiler.store(Java.Locatable locatable, IType lvType, short lvIndex) private voidUnitCompiler.store(Java.Locatable locatable, Java.LocalVariable localVariable) Assigns the top operand to the given local variable.private voidUnitCompiler.stringConversion(Java.Locatable locatable, IType sourceType) Converts object of type "sourceType" to type "String" (JLS7 15.18.1.1).private voidUnitCompiler.sub(Java.Locatable locatable) private voidUnitCompiler.swap(Java.Locatable locatable) private voidUnitCompiler.tableswitch(Java.Locatable locatable, SortedMap<Integer, CodeContext.Offset> caseLabelMap, CodeContext.Offset defaultLabelOffset) 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.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.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) private voidUnitCompiler.xaload(Java.Locatable locatable, IType componentType) private voidUnitCompiler.xor(Java.Locatable locatable, int opcode) private voidUnitCompiler.xreturn(Java.Locatable locatable, IType returnType)