Java Language Module
Parser Documentation

Version: 0.9.22


This document was generated on 2024/07/10.


Introduction

Documentation

Statements

JAssertStatement Class

Super Classes
Local Features
Name Type and Description
expression list of
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JAssertStmt Class

An assertion is an assert statement containing a boolean expression. An assertion is either enabled or disabled. If an assertion is enabled, execution of the assertion causes evaluation of the boolean expression and an error is reported if the expression evaluates to false. If the assertion is disabled, execution of the assertion has no effect whatsoever.

Super Classes
Local Features
Name Type and Description
test optional
JExpression A
voidTest optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JBlockStatementWrapper Class

Super Classes
Local Features
Name Type and Description
blockLabel optional
JBlock
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JBlockStmt Class

A block is a sequence of statements, local variable declaration statements, and local class and interface declarations within braces.

Super Classes
Local Features
Name Type and Description
statements list of
JStatement A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?
Used In

JBreakStatement Class

Super Classes
Local Features
Name Type and Description
identifier optional
JIdentifier
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JBreakStmt Class

Super Classes
Local Features
Name Type and Description
identifier String?
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JContinueStatement Class

Super Classes
Local Features
Name Type and Description
identifier optional
JIdentifier
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JContinueStmt Class

Super Classes
Local Features
Name Type and Description
identifier String?
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JDoStatement Class

Super Classes
Local Features
Name Type and Description
parExpression optional
JParExpression
statement optional
JStatement A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JDoStmt Class

Super Classes
Local Features
Name Type and Description
body optional
JStatement A
condition optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JEmptyStatement Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JEmptyStmt Class

An empty statement does nothing.

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JExpressionStatement Class

Super Classes
Local Features
Name Type and Description
statementExpression optional
JExpression A
switchExpression optional
JSwitchExpression
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JExpressionStmt Class

An expression statement is executed by evaluating the expression; if the expression has a value, the value is discarded. Execution of the expression statement completes normally if and only if evaluation of the expression completes normally.

Super Classes
Local Features
Name Type and Description
expression optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JForEachStmt Class

Super Classes
Local Features
Name Type and Description
body optional
JStatement A
collection optional
JExpression A
name String
type optional
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JForStatement Class

Super Classes
Local Features
Name Type and Description
forControl optional
JForControl
statement optional
JStatement A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JForStmt Class

Super Classes
Local Features
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JIfStatement Class

Super Classes
Local Features
Name Type and Description
parExpression optional
JParExpression
statement list of
JStatement A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JIfStmt Class

Super Classes
Local Features
Name Type and Description
condition optional
JExpression A
elseBody optional
JStatement A
thenBody optional
JStatement A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JLabelledStatement Class

Super Classes
Local Features
Name Type and Description
identifierLabel optional
JIdentifier
statement optional
JStatement A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JLocalTypeDeclaration Class

Super Classes
Local Features
Name Type and Description
localDeclaration optional
JTypeDeclaration A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JLocalVariableDeclaration Class

Super Classes
Local Features
Name Type and Description
declarators list of
JVariableDeclarator
modifiers list of
JModifier A
type optional
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?
Used In

JPlaceholderMultiStmt Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?
placeholderName String?

JQuotedMultiStatement Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JReturnStatement Class

Super Classes
Local Features
Name Type and Description
value optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JSwitchStatement Class

Super Classes
Local Features
Name Type and Description
parExpression optional
JParExpression
switchBlockStatementGroup list of
JSwitchBlockStatementGroup
switchLabel list of
JSwitchLabel
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JSwitchStmt Class

Super Classes
Local Features
Name Type and Description
alternatives list of
JSwitchStmtAlternative
value optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JSynchronizedStatement Class

Super Classes
Local Features
Name Type and Description
block optional
JBlock
parExpression optional
JParExpression
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JSynchronizedStmt Class

Super Classes
Local Features
Name Type and Description
body optional
JBlockStmt
condition optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JThrowStatement Class

Super Classes
Local Features
Name Type and Description
expression optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JThrowStmt Class

Super Classes
Local Features
Name Type and Description
expression optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JTryCatchStmt Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?
body optional
JBlockStmt
catchClauses list of
JCatchClause
finallyBlock optional
JFinallyBlock

JTryExceptStatement Class

Super Classes
Local Features
Name Type and Description
block optional
JBlock
catchClause list of
JCatchClause
finallyBlock optional
JFinallyBlock
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JTryResourceStatement Class

Super Classes
Local Features
Name Type and Description
block optional
JBlock
catchClause list of
JCatchClause
finallyBlock optional
JFinallyBlock
resource list of
JResource
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JTryStmt Class (Abstract) A

Super Classes
Local Features
Name Type and Description
body optional
JBlockStmt
catchClauses list of
JCatchClause
finallyBlock optional
JFinallyBlock
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?
Subclasses

JTryWithResourceStmt Class

Super Classes
Local Features
Name Type and Description
resources list of
JResourceSpecification
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?
body optional
JBlockStmt
catchClauses list of
JCatchClause
finallyBlock optional
JFinallyBlock

JWhileStatement Class

Super Classes
Local Features
Name Type and Description
parExpression optional
JParExpression
statement optional
JStatement A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JWhileStmt Class

Super Classes
Local Features
Name Type and Description
body optional
JStatement A
condition optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JYieldStatment Class

Super Classes
Local Features
Name Type and Description
expression optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

JYieldStmt Class

Super Classes
Local Features
Name Type and Description
value optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
label String?

Expressions

JAddAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JAdditiveExpr Class (Abstract) A

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A
Subclasses

JAndAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JAnnotationExpr Class

Super Classes
Local Features
Name Type and Description
annotation optional
JAnnotation A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JArrayAccess Class

An array access expression refers to a variable that is a component of an array.

Super Classes
Local Features
Name Type and Description
array optional
JExpression A
index optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JArrayCreationExpr Class (Abstract) A

An array creation expression is used to create new arrays.

Super Classes
Local Features
Name Type and Description
dimensions optional
JArrayDimensions
type optional
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Subclasses

JArrayCreationExpressionWithInitializer Class

Super Classes
Local Features
Name Type and Description
initializers list of
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
dimensions optional
JArrayDimensions
type optional
JType A

JArrayCreationExpressionWithoutInitializer Class

Super Classes
Local Features
Name Type and Description
dimensionExpressions optional
JArrayDimensionExprs
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
dimensions optional
JArrayDimensions
type optional
JType A

JArrayLiteralExpr Class

Super Classes
Local Features
Name Type and Description
elements list of
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JBitwiseAndExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JBitwiseComplementExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
base optional
JExpression A

JBitwiseExpr Class (Abstract) A

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A
Subclasses

JBitwiseOrExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JBitwiseXorExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JBooleanLiteralExpr Class (Abstract) A

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Subclasses

JCastExpr Class

Super Classes
Local Features
Name Type and Description
type optional
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
base optional
JExpression A

JCharacterLiteralExpr Class

Super Classes
Local Features
Name Type and Description
value String
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JClassInstanceCreationExpr Class

A class instance creation expression is used to create new objects that are instances of classes. Qualified instance creation expressions are used to create instances of inner classes. The Primary part of the expression identifies the outer (enclosing) class. new is, again, the new keyword. Identifier is the simple name of the inner class being created. As an example, assume you have a class named Outer that has an inner class named Inner. The expression to create an instance of inner would look like: new Outer( ).new Inner( ); Parameter typeName name of the class or interface to instantiate (as one could define an anonymous class from an interface) Parameter qualifier a qualified class instance creation expression enables the creation of instances of inner member classes and their anonymous subclasses Parameter body it is present if we define an anonymous class see https://docs.oracle.com/javase/specs/jls/se19/html/jls-15.html#jls-15.9

Super Classes
Local Features
Name Type and Description
arguments list of
JExpression A
body optional
JClassInstanceCreationBody
classTypeArguments optional
JExplicitTypeArguments
constructorTypeArguments optional
JTypeArguments A
container optional
JExpression A
qualifier Expression?
typeName optional
JQualifiedName
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JClassLiteralExpr Class

A class literal is an expression consisting of the name of a class, interface, array type, or primitive type, or the pseudo-type void, followed by a '.' and the token class.

Super Classes
Local Features
Name Type and Description
type optional
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JClassReference Class

Super Classes
Local Features
Name Type and Description
className String
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JConditionalExpr Class

The conditional operator ? : uses the boolean value of one expression to decide which of two other expressions should be evaluated.

Super Classes
Local Features
Name Type and Description
condition optional
JExpression A
falseBranch optional
JExpression A
trueBranch optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JConstructorReferenceExpr Class

Super Classes
Local Features
Name Type and Description
type optional
JType A
typeArguments optional
JTypeArguments A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JDivAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JDivisionExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JEqualToExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JEqualityExpr Class (Abstract) A

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A
Subclasses

JExpression Class (Abstract) A

Any expression in the Java language. Much of the work in a program is done by evaluating expressions, either for their side effects, such as assignments to variables, or for their values, which can be used as arguments or operands in larger expressions, or to affect the execution sequence in statements, or both. see https://docs.oracle.com/javase/specs/jls/se19/html/jls-15.html

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Subclasses
JAbstractAssignmentExpr
JAddAssignmentExpr
JAdditiveExpr
JAndAssignmentExpr
JAnnotationExpr
JArrayAccess
JArrayCreationExpr
JArrayCreationExpressionWithInitializer
JArrayCreationExpressionWithoutInitializer
JArrayLiteralExpr
JAssignmentExpr
JBinaryExpr
JBitwiseAndExpr
JBitwiseComplementExpr
JBitwiseExpr
JBitwiseOrExpr
JBitwiseXorExpr
JBooleanLiteralExpr
JCastExpr
JCharacterLiteralExpr
JClassInstanceCreationExpr
JClassLiteralExpr
JClassReference
JConditionalExpr
JConstructorReferenceExpr
JDivAssignmentExpr
JDivisionExpr
JEqualToExpr
JEqualityExpr
JExpressionQualifiedMethodInvocationExpr
JFalseLiteralExpr
JFieldAccessExpr
JFloatingPointLiteralExpr
JGreaterOrEqualToExpr
JGreaterThanExpr
JInstanceOfExpr
JInstanceOfPatternExpr
JInstanceOfTypeExpr
JIntegerLiteralExpr
JLambdaExpr
JLessOrEqualToExpr
JLessThanExpr
JLexicalLiteralExpr
JLogicalAndExpr
JLogicalExpr
JLogicalOrExpr
JMethodInvocationExpr
JMethodReferenceExpr
JMethodStaticReferenceExpr
JMinusExpr
JModAssignmentExpr
JModuleExpr
JMulAssignmentExpr
JMultiplicationExpr
JMultiplicativeExpr
JNegatedExpr
JNotEqualToExpr
JNullLiteralExpr
JOrAssignmentExpr
JParenthesized
JPlaceholderExpr
JPlusExpr
JPostDecrementExpr
JPostIncrementExpr
JPostfixExpression
JPreDecrementExpr
JPreIncrementExpr
JPrefixExpression
JPrimaryExpr
JQualifiedThisExpr
JReferenceExpr
JRelationalExpr
JShiftExpr
JSignedLeftShiftAssignmentExpr
JSignedLeftShiftExpr
JSignedRightShiftAssignmentExpr
JSignedRightShiftExpr
JStringLiteralExpr
JSubAssignmentExpr
JSubtractionExpr
JSumExpr
JSuperConstructorCall
JSuperExpr
JSuperMethodReferenceExpr
JSuperQualifiedMethodInvocationExpr
JSwitchExpr
JTextBlockExpr
JThisConstructorCall
JThisExpr
JTrueLiteralExpr
JTypeQualifiedMethodInvocationExpr
JUnaryOperatorExpression
JUnqualifiedMethodInvocationExpr
JUnsignedRightShiftAssignmentExpr
JUnsignedRightShiftExpr
JXorAssignmentExpr
Used In

JExpressionQualifiedMethodInvocationExpr Class

Super Classes
Local Features
Name Type and Description
container optional
JExpression A
typeArguments optional
JTypeArguments A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
arguments list of
JExpression A
method optional reference to
JMethodDeclaration

JFalseLiteralExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JFieldAccessExpr Class

A field access expression may access a field of an object or array, a reference to which is the value of either an expression or the special keyword super. If an expression name is of the form Q.Id, then Q has already been classified as a package name, a type name, or an expression name. Note that also qualified types could be represented as JFieldAccessExpr, as we can distinguish them only after symbol resolution and not during parsing.

Super Classes
Local Features
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JFloatingPointLiteralExpr Class

Super Classes
Local Features
Name Type and Description
value String
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JGreaterOrEqualToExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JGreaterThanExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JInstanceOfExpr Class (Abstract) A

Super Classes
Local Features
Name Type and Description
expression optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Subclasses

JInstanceOfPatternExpr Class

Super Classes
Local Features
Name Type and Description
varDecl optional
JLocalVariableDeclaration
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
expression optional
JExpression A

JInstanceOfTypeExpr Class

Super Classes
Local Features
Name Type and Description
type optional
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
expression optional
JExpression A

JIntegerLiteralExpr Class

Super Classes
Local Features
Name Type and Description
format
JIntegerFormat E
value String
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JLambdaExpr Class

Super Classes
Local Features
Name Type and Description
expressionBlock optional
JBlockStmt
expressionBody optional
JExpression A
params list of
JLambdaParameter A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JLessOrEqualToExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JLessThanExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JLexicalLiteralExpr Class (Abstract) A

A literal denotes a fixed, unchanging value.

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Subclasses

JLogicalAndExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JLogicalExpr Class (Abstract) A

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A
Subclasses

JLogicalOrExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JMethodInvocationExpr Class (Abstract) A

A method invocation expression is used to invoke a class or instance method.

Super Classes
Local Features
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Subclasses

JMethodReferenceExpr Class

Super Classes
Local Features
Name Type and Description
context optional
JExpression A
methodName String
typeArguments list of
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JMethodStaticReferenceExpr Class

Super Classes
Local Features
Name Type and Description
context optional
JType A
methodName String
typeArguments list of
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JMinusExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
base optional
JExpression A

JModAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JModuleExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JMulAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JMultiplicationExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JMultiplicativeExpr Class (Abstract) A

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A
Subclasses

JNegatedExpr Class

Super Classes
Local Features
Name Type and Description
base optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JNotEqualToExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JNullLiteralExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JOrAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JParenthesized Class

A parenthesized expression is a primary expression whose type is the type of the contained expression and whose value at run time is the value of the contained expression. If the contained expression denotes a variable then the parenthesized expression also denotes that variable. The use of parentheses affects only the order of evaluation, except for a corner case whereby (-2147483648) and (-9223372036854775808L) are legal but -(2147483648) and -(9223372036854775808L) are illegal. This is because the decimal literals 2147483648 and 9223372036854775808L are allowed only as an operand of the unary minus operator

Super Classes
Local Features
Name Type and Description
base optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JPlaceholderExpr Class

Placeholder used to represent any expression. This is not part of the Java language. It is instead an extension used to represent patterns and templates of Java code.

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
placeholderName String?

JPlusExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
base optional
JExpression A

JPostDecrementExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
base optional
JExpression A

JPostIncrementExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
base optional
JExpression A

JPostfixExpression Class (Abstract) A

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
base optional
JExpression A
Subclasses

JPreDecrementExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
base optional
JExpression A

JPreIncrementExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
base optional
JExpression A

JPrefixExpression Class (Abstract) A

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
base optional
JExpression A
Subclasses

JPrimaryExpr Class (Abstract) A

Primary expressions include most of the simplest kinds of expressions, from which all others are constructed: literals, object creations, field accesses, method invocations, method references, and array accesses. A parenthesized expression is also treated syntactically as a primary expression.

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Subclasses

JQualifiedThisExpr Class

Any lexically enclosing instance can be referred to by explicitly qualifying the keyword this. Let n be an integer such that TypeName denotes the n'th lexically enclosing class or interface declaration of the class or interface whose declaration immediately encloses the qualified this expression. The value of a qualified this expression TypeName.this is the n'th lexically enclosing instance of this. If TypeName denotes a generic class, with type parameters F1,...,Fn, the type of the qualified this expression is TypeName. Otherwise, the type of the qualified this expression is TypeName.

Super Classes
Local Features
Name Type and Description
typeName optional
JQualifiedName
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JReferenceExpr Class

If an expression name consists of a single Identifier, then there must be exactly one declaration denoting either a local variable, formal parameter, exception parameter, or field in scope at the point at which the identifier occurs. Otherwise, a compile-time error occurs.

Super Classes
Local Features
Name Type and Description
value optional reference to
JValueDeclaration A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JRelationalExpr Class (Abstract) A

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A
Subclasses

JShiftExpr Class (Abstract) A

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A
Subclasses

JSignedLeftShiftAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JSignedLeftShiftExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JSignedRightShiftAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JSignedRightShiftExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JStringLiteralExpr Class

Super Classes
Local Features
Name Type and Description
value String
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JSubAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JSubtractionExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JSumExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JSuperConstructorCall Class

Super Classes
Local Features
Name Type and Description
arguments list of
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JSuperExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JSuperMethodReferenceExpr Class

Super Classes
Local Features
Name Type and Description
methodName String
type optional
JQualifiedName
typeArguments list of
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JSuperQualifiedMethodInvocationExpr Class

Super Classes
Local Features
Name Type and Description
qualifiedName optional
JQualifiedName
typeArguments optional
JTypeArguments A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
arguments list of
JExpression A
method optional reference to
JMethodDeclaration

JSwitchExpr Class

Super Classes
Local Features
Name Type and Description
alternatives list of
JSwitchExprAlternative A
value optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JTextBlockExpr Class

Super Classes
Local Features
Name Type and Description
value String
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JThisConstructorCall Class

Super Classes
Local Features
Name Type and Description
arguments list of
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JThisExpr Class

The keyword this may be used as an expression in the following contexts: - in the body of an instance method of a class - in the body of a constructor of a class - in an instance initializer of a class - in the initializer of an instance variable of a class - in the body of an instance method of an interface, that is, a default method or a non-static private interface method. When used as an expression, the keyword this denotes a value that is a reference either to the object for which the instance method was invoked, or to the object being constructed. The value denoted by this in a lambda body is the same as the value denoted by this in the surrounding context.

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JTrueLiteralExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JTypeQualifiedMethodInvocationExpr Class

Super Classes
Local Features
Name Type and Description
typeArguments optional
JTypeArguments A
typeName optional
JQualifiedName
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
arguments list of
JExpression A
method optional reference to
JMethodDeclaration

JUnaryOperatorExpression Class (Abstract) A

Super Classes
Local Features
Name Type and Description
base optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Subclasses

JUnqualifiedMethodInvocationExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
arguments list of
JExpression A
method optional reference to
JMethodDeclaration

JUnsignedRightShiftAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JUnsignedRightShiftExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

JXorAssignmentExpr Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
left optional
JExpression A
right optional
JExpression A

Classes

JAbstract Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JAdvancedLambdaParameter Class

Super Classes
Local Features
Name Type and Description
dimensions list of
JArrayDimension
modifiers list of
JModifier A
type optional
JType A
variableArity Boolean
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
name String?
name String

JAltAnnotationQualifiedName Class

ANNOTATIONS

Super Classes
Local Features
Name Type and Description
identifier list of
JIdentifier
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JAnnotableArrayModifiers Class

Super Classes
Local Features
Name Type and Description
annotation list of
JAnnotation A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JAnnotationConstant Class

Super Classes
Local Features
Name Type and Description
declarators list of
JVariableDeclarator
type optional
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
modifiers list of
JModifier A

JAnnotationConstantRest Class

Super Classes
Local Features
Name Type and Description
variableDeclarators optional
JVariableDeclarators
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JAnnotationDeclaration Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
modifiers list of
JModifier A
name String?
name String
members list of
JEntityMember A
Used In

JAnnotationMethod Class

Super Classes
Local Features
Name Type and Description
defaultValue optional
JExpression A
type optional
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
modifiers list of
JModifier A
name String?
name String

JAnnotationMethodOrConstantRest Class

Super Classes
Local Features
Name Type and Description
annotationConstantRest optional
JAnnotationConstantRest
annotationMethodRest optional
JAnnotationMethodRest
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JAnnotationMethodRest Class

Super Classes
Local Features
Name Type and Description
defaultValue optional
JDefaultValue
identifier optional
JIdentifier
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JAnnotationTypeBody Class

Super Classes
Local Features
Name Type and Description
annotationTypeElementDeclaration list of
JAnnotationTypeElementDeclaration
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JAnnotationTypeDeclaration Class

Super Classes
Local Features
Name Type and Description
annotationTypeBody optional
JAnnotationTypeBody
identifier optional
JIdentifier
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JAnnotationTypeElementDeclaration Class

Super Classes
Local Features
Name Type and Description
annotationTypeElementRest optional
JAnnotationTypeElementRest
modifier list of
JModifier A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JAnnotationTypeElementRest Class

Super Classes
Local Features
Name Type and Description
annotationMethodOrConstantRest optional
JAnnotationMethodOrConstantRest
annotationTypeDeclaration optional
JAnnotationTypeDeclaration
classDeclaration optional
JClassDeclaration
enumDeclaration optional
JEnumDeclaration
interfaceDeclaration optional
JInterfaceDeclaration
recordDeclaration optional
JRecordDeclaration
typeType optional
JTypeType
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JAnnotationValueAssignment Class

Super Classes
Local Features
Name Type and Description
parameterName String
value optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JArguments Class

Super Classes
Local Features
Name Type and Description
expressionList optional
JExpressionList
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JArrayCreatorRest Class

Super Classes
Local Features
Name Type and Description
arrayDim list of
JArrayDim
arrayInitializer optional
JArrayInitializer
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JArrayDim Class

Super Classes
Local Features
Name Type and Description
size optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JArrayDimension Class

Super Classes
Local Features
Name Type and Description
annotations list of
JAnnotation A
size optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JArrayDimensionExpr Class

Super Classes
Local Features
Name Type and Description
annotations list of
JAnnotation A
expr optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JArrayDimensionExprs Class

Super Classes
Local Features
Name Type and Description
dims list of
JArrayDimensionExpr
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JArrayDimensions Class

Super Classes
Local Features
Name Type and Description
dims list of
JArrayDimension
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JArrayInitializer Class

Super Classes
Local Features
Name Type and Description
variableInitializer list of
JVariableInitializer
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JArrayType Class

Super Classes
Local Features
Name Type and Description
baseType optional
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
annotations list of
JAnnotation A

JBlock Class

Super Classes
Local Features
Name Type and Description
blockStatement list of
JBlockStatement
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JBlockStatement Class

Super Classes
Local Features
Name Type and Description
localTypeDeclarationNotEmpty optional
JLocalTypeDeclarationNotEmpty
localVariableDeclaration optional
JLocalVariableDeclaration
statement optional
JStatement A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JBooleanType Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
annotations list of
JAnnotation A

JByteType Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
annotations list of
JAnnotation A

JCaseSwitchExprAlternative Class

Super Classes
Local Features
Name Type and Description
condition list of
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
body list of
JStatement A

JCatchClause Class

Super Classes
Local Features
Name Type and Description
body optional
JBlockStmt
parameter optional
JCatchClauseParameter
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JCatchClauseParameter Class

Super Classes
Local Features
Name Type and Description
dimensions list of
JArrayDimension
modifiers list of
JModifier A
type optional
JType A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
name String?
name String
Used In

JCatchType Class

Super Classes
Local Features
Name Type and Description
qualifiedName list of
JQualifiedName
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JCharType Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
annotations list of
JAnnotation A

JClassBody Class

Super Classes
Local Features
Name Type and Description
classBodyDeclaration list of
JClassBodyDeclaration
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JClassBodyDeclaration Class

Super Classes
Local Features
Name Type and Description
block optional
JBlock
memberDeclaration optional
JMemberDeclaration
modifier list of
JModifier A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JClassBodyDeclarationRoot Class

Super Classes
Local Features
Name Type and Description
classBodyDeclaration optional
JClassBodyDeclaration
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JClassCreatorRest Class

Super Classes
Local Features
Name Type and Description
arguments optional
JArguments
classBody optional
JClassBody
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JClassDeclaration Class

Super Classes
Local Features
Name Type and Description
extended optional
JType A
implemented list of
JType A
members list of
JEntityMember A
modifiers list of
JModifier A
name String
permittedSubclasses list of
JType A
typeParameters list of
JTypeParameter
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
modifiers list of
JModifier A
name String?
name String
members list of
JEntityMember A
Used In

JClassInstanceCreationBody Class

Super Classes
Local Features
Name Type and Description
members list of
JEntityMember A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JClassOrInterfaceModifier Class

Super Classes
Local Features
Name Type and Description
annotation optional
JAnnotation A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JClassOrInterfaceType Class

Super Classes
Local Features
Name Type and Description
contextType list of
JContextType
typeArguments optional
JTypeArguments A
typeIdentifier optional
JTypeIdentifier
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JClassType Class

Super Classes
Local Features
Name Type and Description
annotation list of
JAnnotation A
classOrInterfaceType optional
JClassOrInterfaceType
identifier optional
JIdentifier
typeArguments optional
JTypeArguments A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JCompactConstructorDeclaration Class

Super Classes
Local Features
Name Type and Description
compactConstructorDeclarationModifier list of
JCompactConstructorDeclarationModifier
constructorBody optional
JBlock
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JCompactConstructorDeclarationModifier Class

Super Classes
Local Features
Name Type and Description
annotation optional
JAnnotation A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JCompilationUnit Class

Super Classes
Local Features
Name Type and Description
declarations list of
JTypeDeclaration A
imports list of
JImportDeclaration A
moduleDeclaration optional
JModuleDeclaration
packageDeclaration optional
JPackageDeclaration
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JConstDeclaration Class

Super Classes
Local Features
Name Type and Description
constantDeclarator list of
JConstantDeclarator
typeType optional
JTypeType
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JConstantDeclarator Class

Super Classes
Local Features
Name Type and Description
identifier optional
JIdentifier
variableInitializer optional
JVariableInitializer
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JConstructor Class

Super Classes
Local Features
Name Type and Description
body optional
JBlockStmt
className String
exceptions list of
JExceptionThrown
parameters list of
JParameterDeclaration
typeParameters list of
JTypeParameter
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
modifiers list of
JModifier A

JConstructorDeclaration Class

Super Classes
Local Features
Name Type and Description
constructorBody optional
JBlock
formalParameters optional
JFormalParameters
identifier optional
JIdentifier
qualifiedNameList optional
JQualifiedNameList
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JContextType Class

Super Classes
Local Features
Name Type and Description
identifier optional
JIdentifier
typeArguments optional
JTypeArguments A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JCreatedName Class

Super Classes
Local Features
Name Type and Description
identifier list of
JIdentifier
primitiveType optional
JPrimitiveType
typeArgumentsOrDiamond optional
JTypeArgumentsOrDiamond
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JCreator Class

Super Classes
Local Features
Name Type and Description
arrayCreatorRest optional
JArrayCreatorRest
classCreatorRest optional
JClassCreatorRest
createdName optional
JCreatedName
nonWildcardTypeArguments optional
JNonWildcardTypeArguments
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JDefault Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JDefaultSwitchExprAlternative Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
body list of
JStatement A

JDefaultSwitchStmtLabel Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?

JDefaultValue Class

Super Classes
Local Features
Name Type and Description
elementValue optional
JElementValue
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JDoubleType Class

Super Classes
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
annotations list of
JAnnotation A

JElementValue Class

Super Classes
Local Features
Name Type and Description
annotation optional
JAnnotation A
elementValueArrayInitializer optional
JElementValueArrayInitializer
expression optional
JExpression A
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JElementValueArrayInitializer Class

Super Classes
Local Features
Name Type and Description
elementValue list of
JElementValue
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JElementValuePair Class

Super Classes
Local Features
Name Type and Description
elementValue optional
JElementValue
identifier optional
JIdentifier
Inherited Features
Name Type and Description
position Position?
origin Origin?
destination Destination?
Used In

JElementValuePairs Class

Super Classes
Local Features
Name Type and Description
elementValuePair list of
JElementValuePair
Inherited Features