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 interface
Representation of a Java annotation.static interface
Base for package member ("top-level") and member ("nested") annotation type declarations.static interface
The union ofJava.ArrayInitializer
andJava.Rvalue
.static interface
Everything that can be compiled to code, e.g.static interface
Base for the various class declarations (top-level class, local class, anonymous class, nested class, top-level enum, nested enum).static interface
Base of the possible element values in aJava.NormalAnnotation
.static interface
Base for package member (a.k.a.static interface
(package private) static interface
Represents the declaration of an inner class, i.e.static interface
Represents a class or interface declaration where the immediately enclosing scope is another class or interface declaration.static interface
Base for the various modifiers (access modifiers, annotations).static interface
Represents the declaration of a class or an interface that has a name.static interface
Represents a class or interface declaration on compilation unit level.static interface
Representation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration".static interface
Base for the various kinds of type declarations, e.g.Classes in org.codehaus.janino that implement Java.LocatableModifier and TypeClassDescriptionstatic class
Convenience class.static class
Base for the various class declaration kinds.static class
Base class for the various IMPORT declarations.static class
Represents a single static import declaration likestatic class
Represents a "single-type import declaration" like "import java.util.Map;
".static class
Represents a static-import-on-demand declaration likestatic class
Represents a type-import-on-demand declaration likeimport java.util.*;
.static class
Abstract implementation ofJava.TypeBodyDeclaration
.static class
Abstract implementation ofJava.TypeDeclaration
.static class
Representation of the modifier flags and annotations that are associated with a declaration.static final class
Representation of a JLS7 8.8.7.1.static final class
Representation of a JLS7 6.5.2 "ambiguous name".static final class
Representation of a JLS7 15.9.5 "anonymous class declaration".static final class
Representation of a JLS7 15.13 (JLS8: 15.10.3) "array access expression".static final class
Representation of a "method reference expression", as described in JLS9 15.13, with the form "<var>arrayType</var>::new
".static final class
Representation of a JLS7 10.6 "array initializer".static final class
Representation of the JLS7 10.7 array type "length" pseudo-member.static final class
Representation of a JLS7 10.1 "array type".static final class
Representation of the JLS7 14.10 ASSERT statement.static final class
Representation of all JLS7 15.26 assignments.static class
static final class
Representation of all non-operand-modifying binary operations.static final class
Representation of a Java "block" (JLS7 14.2).static final class
Representation of a "boolean literal" (JLS7 3.10.3) (typeboolean
).static class
Base class forJava.Rvalue
s that compile better as conditional branches.static class
Base class for statements that can be terminated abnormally with abreak
statement.static final class
Representation of the JLS7 14.15 BREAK statement.static final class
Representation of a JLS7 15.16 "cast expression".static class
Representation of a JLS7 14.20.1 CATCH clause.static final class
Representation of a "catch" parameter.static final class
Representation of a "character literal" (JLS7 3.10.4) (typechar
).static final class
Representation of a "method reference expression", as described in JLS9 15.13, with the form "<var>classType</var>::new
".static final class
Representation of a JLS7 15.8.2 "class literal".static final class
Representation of a JLS7 15.25 "conditional operation".static final class
Representation of a constructor declarator.static class
Abstract bas class forJava.SuperConstructorInvocation
andJava.AlternateConstructorInvocation
.static class
Base class for statements that support the "continue" statement.static final class
Representation of the JLS7 14.16 CONTINUE statement.static final class
Representation 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 class
Representation of a JLS7 14.13 DO statement.static final class
An element value in the form of an array initializer, e.g.static final class
Representation of the "empty statement", i.e.static final class
Representation of an "enum constant", see JLS7 8.9.1.static final class
Representation of a (Java 9+) "exports directive", as explained in JLS9 7.7.2.static final class
Representation of the JLS7 14.8 "expression statement".static final class
Representation of an access to a field of a class or an interface.static final class
Representation of a JLS7 15.11 "field access expression", including the "array length" pseudo field access.static final class
This class is derived from "Statement", because it provides for the initialization of the field.static final class
Representation of a "floating-point literal" (JLS7 3.10.2) (typesfloat
anddouble
).static final class
Representation of a JLS7 14.14.2 "enhanced FOR statement".static final class
Representation of a JLS7 14.14.1 "basic FOR statement".static class
Abstract base class forJava.ConstructorDeclarator
andJava.MethodDeclarator
.static final class
Representation of a (formal) function parameter.static final class
Representation of the (formal) function parameters.static final class
Representation of a JLS7 14.9 IF statement.static final class
Representation of an "instance initializer" (JLS7 8.6) or "static initializer" (JLS7 8.7).static final class
Representation of a JLS7 15.20.2 "type comparison operation".static final class
Representation of an "integer literal" (JLS7 3.10.1) (typesint
andlong
).static class
Base for the various interface declaration kinds.static class
Abstract base class forJava.MethodInvocation
andJava.SuperclassMethodInvocation
.static final class
Representation of a JLS7 14.7 "labeled statement".static class
Representation of a (Java 8+) "lambda expression", see JLS9 15.27.static class
Abstract base class for the various Java literals; see JLS7 3.10.static final class
Representation of a "local class declaration" i.e.static final class
Representation of the JLS7 14.3 "local class declaration statement".static final class
Representation of a local variable access -- used during compilation.static final class
Representation of a JLS7 14.4 "local variable declaration statement".static class
Abstract implementation ofJava.Locatable
.static class
Representation of an "lvalue", i.e.static final class
Representation of a "marker annotation", i.e.static final class
Representation of a member annotation type declaration, a.k.a.static class
Representation of a "member class declaration", i.e.static final class
Representation of a "member enum declaration", i.e.static class
Representation of a "member interface declaration", i.e.static final class
Representation of a method declarator.static final class
Representation of a JLS7 15.12 "method invocation expression".static final class
Representation of a "method reference expression", as described in JLS9 15.13, with the form "<var>referenceType</var>::identifier
.static final class
Representation of a "module declaration", as described in JLS9 7.7.static class
Base for the various named class declarations.static final class
Representation of a JLS7 15.9 "anonymous class instance creation expression".static final class
Representation of a JLS7 15.10 "array creation expression".static final class
Representation of a JLS7 "class instance creation expression".static final class
Representation of a JLS7 15.10 "array creation expression".static final class
A "normal annotation", i.e.static final class
Representation of a "null literal" (JLS7 3.10.7).static final class
Representation of a (Java 9+) "opens directive", as explained in JLS9 7.7.2.static final class
Representation of a JLS7 6.5.2.1.5 "package name".static class
Representation of a package declaration likepackage com.acme.tools;
.static final class
Representation of a package member annotation type declaration, a.k.a.static class
Implementation of a "package member class declaration", a.k.a.static final class
Implementation of a "package member enum declaration", a.k.a.static class
Representation 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 class
Representation of a JLS7 15.8.5 "parenthesized expression".static final class
Representation of a JLS7 4.2 "primitive type", i.e a primitive type "usage", which has a location.static final class
Representation of a (Java 9+) "provides directive", as explained in JLS9 7.7.4.static final class
Representation of an JLS7 15.8.4 access to the current object or an enclosing instance.static final class
Representation of a JLS7 4.3 reference type.static final class
Representation of a (Java 9+) "requires directive", as explained in JLS9 7.7.1.static final class
Representation of the JLS7 14.17 RETURN statement.static class
Representation of an "rvalue", i.e.static final class
Representation 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 class
This class is not used when code is parsed; it is intended for "programmatic" literals.static final class
This class is not used when code is parsed; it is intended for "programmatic" types.static final class
Representation of a "single-element annotation", i.e.static class
Everything that can occur in the body of a method or in a block.static final class
Representation of a "string literal" (JLS7 3.10.5) (typeString
).static final class
Representation of an JLS7 "superclass field access expression", e.g.static final class
Representation of a JLS7 15.12.1.1.3 "superclass method invocation".static final class
Representation of a JLS7 8.8.7.1.static final class
The JLS7 14.10switch
Statement.static class
Representation of a "switch block statement group" as defined in JLS7 14.11.static final class
Representation of a JLS7 14.9 SYNCHRONIZED statement.static final class
Representation of an JLS7 15.8.3 access to the innermost enclosing instance.static final class
Representation of a JLS7 14.18 THROW statement.static final class
Representation of a JLS7 14.20 TRY statement.static class
Representation of a JLS9 14.20.2 "local-variable-declarator resource" in a TRY-with-resources statement.static class
Representation of a JLS9 14.20.2 "resource" in a TRY-with-resources statement.static class
Representation of a JLS9 14.20.2 "variable-access resource" in a TRY-with-resources statement.static class
Representation of a Java type.static final class
Representation 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 class
Representation of a (Java 9+) "uses directive", as explained in JLS9 7.7.3.static final class
Used by FieldDeclaration and LocalVariableDeclarationStatement.static final class
Representation of the JLS7 14.2 WHILE statement.Methods in org.codehaus.janino with parameters of type Java.LocatableModifier and TypeMethodDescriptionprivate void
UnitCompiler.aconstnull
(Java.Locatable locatable) private void
UnitCompiler.add
(Java.Locatable locatable) private void
UnitCompiler.addLineNumberOffset
(Java.Locatable locatable) private static ClassFile.MethodInfo
UnitCompiler.addMethodInfo
(Java.Locatable locatable, ClassFile classFile, short accessFlags, String methodName, MethodDescriptor methodMd) private void
UnitCompiler.andOrXor
(Java.Locatable locatable, String operator) private void
UnitCompiler.anewarray
(Java.Locatable locatable, IClass componentType) private void
UnitCompiler.arraylength
(Java.Locatable locatable) private void
UnitCompiler.arraystore
(Java.Locatable locatable, IType lhsComponentType) private void
UnitCompiler.assignmentConversion
(Java.Locatable locatable, IType sourceType, IType targetType, Object constantValue) Implements "assignment conversion" (JLS7 5.2) (more precisely: "assignment contexts".)private void
UnitCompiler.athrow
(Java.Locatable locatable) 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 void
UnitCompiler.cmp
(Java.Locatable locatable, int opIdx) 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 static CompileException
UnitCompiler.compileException
(Java.Locatable locatable, String message) private IClass
UnitCompiler.compileStringConcatenation
(Java.Locatable locatable, IType type, Java.Rvalue secondOperand, Iterator<Java.Rvalue> operands) private void
UnitCompiler.consT
(Java.Locatable locatable, double value) private void
UnitCompiler.consT
(Java.Locatable locatable, float value) private void
UnitCompiler.consT
(Java.Locatable locatable, int value) private void
UnitCompiler.consT
(Java.Locatable locatable, long value) private IClass
UnitCompiler.consT
(Java.Locatable locatable, Object value) Pushes one value on the operand stack and pushes the respectiveClassFile.StackMapTableAttribute.VerificationTypeInfo
operand to the stack map.private void
UnitCompiler.consT
(Java.Locatable locatable, String s) private void
UnitCompiler.consT
(Java.Locatable locatable, IClass iClass) private void
UnitCompiler.consT
(Java.Locatable locatable, IClass t, int value) private Object
UnitCompiler.constantAssignmentConversion
(Java.Locatable locatable, 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 void
UnitCompiler.dup
(Java.Locatable locatable) Duplicates the top operand: ...private void
UnitCompiler.dup2
(Java.Locatable locatable) Duplicates the top two operands: ...private void
UnitCompiler.dupn
(Java.Locatable locatable, int n) Duplicates the top n operands.private void
UnitCompiler.dupx
(Java.Locatable locatable) Copies the top operand one position down: b a => a b aprivate void
UnitCompiler.dupx2
(Java.Locatable locatable) Copies the top operand two positions down: c b a => a c b a.private void
UnitCompiler.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.IInvocable
UnitCompiler.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 void
UnitCompiler.getfield
(Java.Locatable locatable, IClass.IField iField) private void
UnitCompiler.getfield
(Java.Locatable locatable, IClass declaringIClass, String fieldName, IClass fieldType, boolean statiC) private void
UnitCompiler.gotO
(Java.Locatable locatable, CodeContext.Offset dst) private void
UnitCompiler.if_acmpxx
(Java.Locatable locatable, int opIdx, CodeContext.Offset dst) private void
UnitCompiler.if_icmpxx
(Java.Locatable locatable, int opIdx, CodeContext.Offset dst) private void
UnitCompiler.ifnonnull
(Java.Locatable locatable, CodeContext.Offset dst) private void
UnitCompiler.ifnull
(Java.Locatable locatable, CodeContext.Offset dst) private void
UnitCompiler.ifNumeric
(Java.Locatable locatable, int opIdx, CodeContext.Offset dst, boolean orientation) private void
UnitCompiler.ifxx
(Java.Locatable locatable, int opIdx, CodeContext.Offset dst) private void
UnitCompiler.iinc
(Java.Locatable locatable, Java.LocalVariable lv, String operator) private void
UnitCompiler.instanceoF
(Java.Locatable locatable, IType rhsType) private void
UnitCompiler.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 void
UnitCompiler.invokeConstructor
(Java.Locatable locatable, IClass.IConstructor iConstructor) Invokes the iConstructor; assumes thatthis
and the correct number and types of arguments are on the operand stack.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 void
UnitCompiler.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 void
UnitCompiler.l2i
(Java.Locatable locatable) private void
UnitCompiler.load
(Java.Locatable locatable, IType localVariableType, int localVariableIndex) private IType
UnitCompiler.load
(Java.Locatable locatable, Java.LocalVariable localVariable) private void
UnitCompiler.lookupswitch
(Java.Locatable locatable, SortedMap<Integer, CodeContext.Offset> caseLabelMap, CodeContext.Offset defaultLabelOffset) private void
UnitCompiler.monitorenter
(Java.Locatable locatable) private void
UnitCompiler.monitorexit
(Java.Locatable locatable) private void
UnitCompiler.mulDivRemAddSub
(Java.Locatable locatable, String operator) private void
UnitCompiler.multianewarray
(Java.Locatable locatable, int dimExprCount, int dims, IType componentType) private void
UnitCompiler.neg
(Java.Locatable locatable, IClass operandType) 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 void
UnitCompiler.putfield
(Java.Locatable locatable, IClass.IField iField) private void
UnitCompiler.referenceThis
(Java.Locatable locatable, IClass currentIClass) private void
UnitCompiler.referenceThis
(Java.Locatable locatable, Java.AbstractTypeDeclaration declaringType, Java.TypeBodyDeclaration declaringTypeBodyDeclaration, IType targetIType) private void
UnitCompiler.returN
(Java.Locatable locatable) private void
UnitCompiler.reverseUnaryNumericPromotion
(Java.Locatable locatable, IClass sourceType, IType targetType) private void
UnitCompiler.shift
(Java.Locatable locatable, String operator) private void
UnitCompiler.store
(Java.Locatable locatable, IType lvType, short lvIndex) private void
UnitCompiler.store
(Java.Locatable locatable, Java.LocalVariable localVariable) Assigns the top operand to the given local variable.private void
UnitCompiler.stringConversion
(Java.Locatable locatable, IType sourceType) Converts object of type "sourceType" to type "String" (JLS7 15.18.1.1).private void
UnitCompiler.sub
(Java.Locatable locatable) private void
UnitCompiler.swap
(Java.Locatable locatable) private void
UnitCompiler.tableswitch
(Java.Locatable locatable, SortedMap<Integer, CodeContext.Offset> caseLabelMap, CodeContext.Offset defaultLabelOffset) 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.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) private void
UnitCompiler.xaload
(Java.Locatable locatable, IType componentType) private void
UnitCompiler.xor
(Java.Locatable locatable, int opcode) private void
UnitCompiler.xreturn
(Java.Locatable locatable, IType returnType)