Uses of Class
org.eclipse.jdt.core.dom.Expression
Package
Description
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
-
Uses of Expression in org.eclipse.jdt.core.dom
Modifier and TypeClassDescriptionclass
Abstract base class of AST nodes that represent annotations.class
Array access expression AST node type.class
Array creation expression AST node type.class
Array initializer AST node type.class
Assignment expression AST node type.class
Boolean literal node.class
Case Default Literal Pattern node.class
Cast expression AST node type.class
Character literal nodes.class
Class instance creation expression AST node type.class
Conditional expression AST node type.class
Creation reference expression AST node type (added in JLS8 API).class
EitherOrMultiPattern AST node type.class
Expression method reference AST node type (added in JLS8 API).class
Field access expression AST node type.class
GuardedPattern pattern AST node type.class
Infix expression AST node type.class
Instanceof expression AST node type.class
Lambda expression AST node type (added in JLS8 API).final class
Marker annotation node (added in JLS3 API).class
Method invocation expression AST node type.class
Abstract base class of all AST node types that represent a method reference expression (added in JLS8 API).class
AST node for a module qualified name.class
Abstract base class for all AST nodes that represent names.final class
Normal annotation node (added in JLS3 API).class
Null literal node.class
Null Pattern node.class
Number literal nodes.class
Parenthesized expression AST node type.class
Abstract base class of AST nodes that represent patterns.class
PatternInstanceof expression AST node type.class
Postfix expression AST node type.class
Prefix expression AST node type.class
AST node for a qualified name.class
TypePattern pattern AST node type.class
AST node for a simple name.final class
Single member annotation node (added in JLS3 API).class
String fragment node is similar to StringLiteral and TextBlock, but does not include the delimiters.class
String literal nodes.class
StringTemplateComponent AST node type is a combination of a single embedded expression followed by aStringFragment
.class
StringTemplateExpression AST node type.class
Simple or qualified "super" field access expression AST node type.class
Simple or qualified "super" method invocation expression AST node type.class
Super method reference AST node type (added in JLS8 API).class
Switch expression AST node type (added in JEP 325).class
TextBlock AST node type.class
Simple or qualified "this" AST node type.class
Type literal AST node type.class
Type method reference expression AST node type (added in JLS8 API).class
TypePattern pattern AST node type.class
Local variable declaration expression AST node type.Modifier and TypeMethodDescriptionArrayAccess.getArray()
Returns the array expression of this array access expression.AnnotationTypeMemberDeclaration.getDefault()
Returns the default value of this annotation type member, ornull
if there is none.ConditionalExpression.getElseExpression()
Returns the "else" part of this conditional expression.StringTemplateComponent.getEmbeddedExpression()
AssertStatement.getExpression()
Returns the first expression of this assert statement.BreakStatement.getExpression()
Deprecated.CastExpression.getExpression()
Returns the expression of this cast expression.ClassInstanceCreation.getExpression()
Returns the expression of this class instance creation expression, ornull
if there is none.ConditionalExpression.getExpression()
Returns the condition of this conditional expression.DoStatement.getExpression()
Returns the expression of this do statement.EnhancedForStatement.getExpression()
Returns the expression of this enhanced for statement.ExpressionMethodReference.getExpression()
Returns the expression of this expression method reference expressionExpressionStatement.getExpression()
Returns the expression of this expression statement.FieldAccess.getExpression()
Returns the expression of this field access expression.ForStatement.getExpression()
Returns the condition expression of this for statement, ornull
if there is none.GuardedPattern.getExpression()
Returns the conditional expression of this pattern, ornull
if there is none (the "default:" case).IfStatement.getExpression()
Returns the expression of this if statement.MethodInvocation.getExpression()
Returns the expression of this method invocation expression, ornull
if there is none.ParenthesizedExpression.getExpression()
Returns the expression of this parenthesized expression.ReturnStatement.getExpression()
Returns the expression of this return statement, ornull
if there is none.SuperConstructorInvocation.getExpression()
Returns the expression of this super constructor invocation statement, ornull
if there is none.SwitchCase.getExpression()
Deprecated.use expressions() (see JLS 12)SwitchExpression.getExpression()
Returns the expression of this switch statement.SwitchStatement.getExpression()
Returns the expression of this switch statement.SynchronizedStatement.getExpression()
Returns the expression of this synchronized statement.ThrowStatement.getExpression()
Returns the expression of this throw statement.WhileStatement.getExpression()
Returns the expression of this while statement.YieldStatement.getExpression()
Returns the expression of this Yield statement, ornull
if there is none.ArrayAccess.getIndex()
Returns the index expression of this array access expression.VariableDeclaration.getInitializer()
Returns the initializer of this variable declaration, ornull
if there is none.Assignment.getLeftHandSide()
Returns the left hand side of this assignment expression.InfixExpression.getLeftOperand()
Returns the left operand of this infix expression.InstanceofExpression.getLeftOperand()
Returns the left operand of this instanceof expression.PatternInstanceofExpression.getLeftOperand()
Returns the left operand of this Patterninstanceof expression.AssertStatement.getMessage()
Returns the message expression of this assert statement, ornull
if there is none.PostfixExpression.getOperand()
Returns the operand of this postfix expression.PrefixExpression.getOperand()
Returns the operand of this prefix expression.StringTemplateExpression.getProcessor()
Returns the String template processor of this string template expression.Assignment.getRightHandSide()
Returns the right hand side of this assignment expression.InfixExpression.getRightOperand()
Returns the right operand of this infix expression.ConditionalExpression.getThenExpression()
Returns the "then" part of this conditional expression.MemberValuePair.getValue()
Returns the value expression.SingleMemberAnnotation.getValue()
Returns the value of this annotation.Modifier and TypeMethodDescriptionAST.newExpressionStatement
(Expression expression) Creates a new unparented expression statement node owned by this AST, for the given expression.void
ArrayAccess.setArray
(Expression expression) Sets the array expression of this array access expression.void
AnnotationTypeMemberDeclaration.setDefault
(Expression defaultValue) Sets or clears the default value of this annotation type member.void
ConditionalExpression.setElseExpression
(Expression expression) Sets the "else" part of this conditional expression.void
StringTemplateComponent.setEmbeddedExpression
(Expression processor) void
AssertStatement.setExpression
(Expression expression) Sets the first expression of this assert statement.void
BreakStatement.setExpression
(Expression expression) Deprecated.void
CastExpression.setExpression
(Expression expression) Sets the expression of this cast expression.void
ClassInstanceCreation.setExpression
(Expression expression) Sets or clears the expression of this class instance creation expression.void
ConditionalExpression.setExpression
(Expression expression) Sets the condition of this conditional expression.void
DoStatement.setExpression
(Expression expression) Sets the expression of this do statement.void
EnhancedForStatement.setExpression
(Expression expression) Sets the expression of this enhanced for statement.void
ExpressionMethodReference.setExpression
(Expression expression) Sets the expression of this expression method reference.void
ExpressionStatement.setExpression
(Expression expression) Sets the expression of this expression statement.void
FieldAccess.setExpression
(Expression expression) Sets the expression of this field access expression.void
ForStatement.setExpression
(Expression expression) Sets or clears the condition expression of this return statement.void
GuardedPattern.setExpression
(Expression expression) Sets the conditional expression of this pattern, or clears it (turns it into the "default:" case).void
IfStatement.setExpression
(Expression expression) Sets the condition of this if statement.void
MethodInvocation.setExpression
(Expression expression) Sets or clears the expression of this method invocation expression.void
ParenthesizedExpression.setExpression
(Expression expression) Sets the expression of this parenthesized expression.void
ReturnStatement.setExpression
(Expression expression) Sets or clears the expression of this return statement.void
SuperConstructorInvocation.setExpression
(Expression expression) Sets or clears the expression of this super constructor invocation statement.void
SwitchCase.setExpression
(Expression expression) Deprecated.see JLS 12void
SwitchExpression.setExpression
(Expression expression) Sets the expression of this switch statement.void
SwitchStatement.setExpression
(Expression expression) Sets the expression of this switch statement.void
SynchronizedStatement.setExpression
(Expression expression) Sets the expression of this synchronized statement.void
ThrowStatement.setExpression
(Expression expression) Sets the expression of this throw statement.void
WhileStatement.setExpression
(Expression expression) Sets the expression of this while statement.void
YieldStatement.setExpression
(Expression expression) Sets or clears the expression of this Yield statement.void
ArrayAccess.setIndex
(Expression expression) Sets the index expression of this array access expression.void
VariableDeclaration.setInitializer
(Expression initializer) Sets or clears the initializer of this variable declaration.void
Assignment.setLeftHandSide
(Expression expression) Sets the left hand side of this assignment expression.void
InfixExpression.setLeftOperand
(Expression expression) Sets the left operand of this infix expression.void
InstanceofExpression.setLeftOperand
(Expression expression) Sets the left operand of this instanceof expression.void
PatternInstanceofExpression.setLeftOperand
(Expression expression) Sets the left operand of this instanceof expression.void
AssertStatement.setMessage
(Expression expression) Sets or clears the message expression of this assert statement.void
PostfixExpression.setOperand
(Expression expression) Sets the operand of this postfix expression.void
PrefixExpression.setOperand
(Expression expression) Sets the operand of this prefix expression.void
StringTemplateExpression.setProcessor
(Expression processor) void
Assignment.setRightHandSide
(Expression expression) Sets the right hand side of this assignment expression.void
InfixExpression.setRightOperand
(Expression expression) Sets the right operand of this infix expression.void
ConditionalExpression.setThenExpression
(Expression expression) Sets the "then" part of this conditional expression.void
MemberValuePair.setValue
(Expression value) Sets the value of this pair.void
SingleMemberAnnotation.setValue
(Expression value) Sets the value of this annotation.