Class | Description |
---|---|
AnnotationExpr |
A base class for the different types of annotations.
|
ArrayAccessExpr |
Array brackets [] being used to get a value from an array.
|
ArrayCreationExpr |
new int[5][4][][] or new int[][]{{1},{2,3}} . |
ArrayInitializerExpr |
The initialization of an array.
|
AssignExpr |
An assignment expression.
|
BinaryExpr |
An expression with an expression on the left, an expression on the right, and an operator in the middle.
|
BooleanLiteralExpr |
The boolean literals.
|
CastExpr |
A typecast.
|
CharLiteralExpr |
A literal character.
|
ClassExpr |
Defines an expression that accesses the class of a type.
|
ConditionalExpr |
The ternary conditional expression.
|
DoubleLiteralExpr |
A float or a double constant.
|
EnclosedExpr |
An expression between ( ).
|
Expression |
A base class for all expressions.
|
FieldAccessExpr |
Access of a field of an object or a class.
|
InstanceOfExpr |
The instanceof statement
Java ??
|
IntegerLiteralExpr |
All ways to specify an int literal.
|
LambdaExpr |
A lambda expression
Java 1-7
Does not exist.
|
LiteralExpr |
A base class for all literal expressions.
|
LiteralStringValueExpr |
Any literal value that is stored internally as a String.
|
LongLiteralExpr |
All ways to specify a long literal.
|
MarkerAnnotationExpr |
An annotation that uses only the annotation type name.
|
MemberValuePair |
A value for a member of an annotation.
|
MethodCallExpr |
A method call on an object or a class.
|
MethodReferenceExpr |
Method reference expressions introduced in Java 8 specifically designed to simplify lambda Expressions.
|
Name |
A name that may consist of multiple identifiers.
|
NameExpr |
Whenever a SimpleName is used in an expression, it is wrapped in NameExpr.
|
NormalAnnotationExpr |
An annotation that has zero or more key-value pairs.
|
NullLiteralExpr |
A literal "null".
|
ObjectCreationExpr |
A constructor call.
|
PatternExpr |
Pattern Matching in Java
Java 1.0 to 13
Not available.
|
RecordPatternExpr |
Record Patterns
Record patterns were officially added in Java 21 to allow the deconstruction of
record values and provide convenient access to inner fields through pattern matching.
|
SimpleName |
A name that consists of a single identifier.
|
SingleMemberAnnotationExpr |
An annotation that has a single value.
|
StringLiteralExpr |
A literal string.
|
SuperExpr |
An occurrence of the "super" keyword.
|
SwitchExpr |
The switch expression
Java 1.0-11
Not available.
|
TextBlockLiteralExpr |
A text block
Java 13-
A text block is a multi-line string.
|
ThisExpr |
An occurrence of the "this" keyword.
|
TypeExpr |
This class is just instantiated as scopes for MethodReferenceExpr nodes to encapsulate Types.
|
TypePatternExpr |
The instanceof statement
Java 1.0 to 13
Not available.
|
UnaryExpr |
An expression where an operator is applied to a single expression.
|
VariableDeclarationExpr |
A declaration of variables.
|
Enum | Description |
---|---|
AssignExpr.Operator | |
BinaryExpr.Operator | |
UnaryExpr.Operator |
Copyright © 2007–2024. All rights reserved.