Package | Description |
---|---|
javax.ide.model.java.source |
Various interfaces for use with Tree objects.
|
javax.ide.model.java.source.tree |
The Java AST.
|
Modifier and Type | Method and Description |
---|---|
abstract AssignmentExpressionT |
TreeFactory.createAssignment(ExpressionT.ExpressionKind kind,
ExpressionT lhs,
ExpressionT rhs)
Creates an assignment expression.
|
InfixExpressionT |
TreeFactory.createInfixExpression(ExpressionT.ExpressionKind kind,
ExpressionT lhs,
ExpressionT rhs)
Creates an infix expression with two operands.
|
abstract InfixExpressionT |
TreeFactory.createInfixExpression(ExpressionT.ExpressionKind kind,
ExpressionT one,
ExpressionT two,
ExpressionT[] operands)
Creates an infix expression with multiple operands.
|
abstract UnaryExpressionT |
TreeFactory.createUnaryExpression(ExpressionT.ExpressionKind kind,
ExpressionT operand)
Creates a unary expression.
|
Modifier and Type | Field and Description |
---|---|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_ADD
Arithmetic addition or string concatenation.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_ADDASG
Arithmetic addition or string concatenation assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_AND
Conditional (logical) AND.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_ANNOTATION
Annotation expression.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_ARRAYCONST
An array constant.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_ASG
Assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_BITAND
Bitwise AND.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_BITANDASG
Bitwise AND assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_BITNOT
Bitwise NOT (negation or complement).
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_BITOR
Bitwise OR.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_BITORASG
Bitwise OR assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_BITXOR
Bitwise XOR.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_BITXORASG
Bitwise XOR assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_CLASS_LITERAL
A class literal.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_COND
Conditional operator (?:).
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_DEREF
Array dereference.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_DIV
Arithmetic division.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_DIVASG
Arithmetic division assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_DOT
Dot dereference.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_EQ
Equal.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_GE
Greater than or equal to.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_GT
Greater than.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_IDENTIFIER
Simple name.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_INSTANCEOF
Instanceof.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_INVOKE
Method invocation.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_LE
Less than or equal to.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_LIST
A list of operands.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_LITERAL
Lexical literal.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_LSH
Bitwise left shift.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_LSHASG
Bitwise left shift assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_LT
Less than.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_MINUS
Arithmetic subtraction.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_MINUSASG
Arithmetic subtraction assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_MOD
Arithmetic remainder (modulus).
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_MODASG
Arithmetic remainder (modulus) assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_MUL
Arithmetic multiplication.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_MULASG
Arithmetic multiplication assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_NEGATIVE
Arithmetic negative prefix.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_NEWARRAY
Array creator.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_NEWOBJECT
Class creator.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_NOT
Logical NOT (negation or complement).
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_NOTEQ
Not-equal.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_OR
Conditional (logical) OR.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_POSITIVE
Arithmetic positive prefix.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_POSTDEC
Decrement postfix.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_POSTINC
Increment postfix.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_PREDEC
Decrement prefix.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_PREINC
Increment prefix.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_QUALIFIED_SUPER
Qualified super.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_QUALIFIED_THIS
Qualified this.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_RSH
Bitwise signed right shift.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_RSHASG
Bitwise signed right shift assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_TYPE
Type expression.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_TYPECAST
Typecast.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_URSH
Bitwise unsigned right shift.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_URSHASG
Bitwise unsigned right shift assignment.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.EXPR_WRAPPER
Nested expression (in parentheses or brackets).
|
Modifier and Type | Method and Description |
---|---|
ExpressionT.ExpressionKind |
ExpressionT.getExpressionKind()
Identifies the operation this expression is performing.
|
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.valueOf(java.lang.Class ignored,
java.lang.String name) |
static ExpressionT.ExpressionKind |
ExpressionT.ExpressionKind.valueOf(int ordinal) |
static ExpressionT.ExpressionKind[] |
ExpressionT.ExpressionKind.values() |
Modifier and Type | Method and Description |
---|---|
int |
ExpressionT.ExpressionKind.compareTo(ExpressionT.ExpressionKind other) |