Methods in
org.eclipse.jdt.core.dom with parameters of type
Expression
|
ExpressionStatement
|
AST.
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
|
SynchronizedStatement.
setExpression
(
Expression expression)
Sets the expression of this synchronized statement. |
void
|
SuperConstructorInvocation.
setExpression
(
Expression expression)
Sets or clears the expression of this super constructor invocation
statement. |
void
|
FieldAccess.
setExpression
(
Expression expression)
Sets the expression of this field access expression. |
void
|
EnhancedForStatement.
setExpression
(
Expression expression)
Sets the expression of this enhanced for statement. |
void
|
ForStatement.
setExpression
(
Expression expression)
Sets or clears the condition expression of this return statement. |
void
|
WhileStatement.
setExpression
(
Expression expression)
Sets the expression of this while statement. |
void
|
AssertStatement.
setExpression
(
Expression expression)
Sets the first expression of this assert statement. |
void
|
DoStatement.
setExpression
(
Expression expression)
Sets the expression of this do statement. |
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
|
SwitchStatement.
setExpression
(
Expression expression)
Sets the expression of this switch statement. |
void
|
CastExpression.
setExpression
(
Expression expression)
Sets the expression of this cast expression. |
void
|
SwitchCase.
setExpression
(
Expression expression)
Sets the expression of this switch case, or clears it (turns it into
the "default:" case). |
void
|
ReturnStatement.
setExpression
(
Expression expression)
Sets or clears the expression of this return statement. |
void
|
ExpressionStatement.
setExpression
(
Expression expression)
Sets the expression of this expression statement. |
void
|
ClassInstanceCreation.
setExpression
(
Expression expression)
Sets or clears the expression of this class instance creation expression. |
void
|
ParenthesizedExpression.
setExpression
(
Expression expression)
Sets the expression of this parenthesized expression. |
void
|
ThrowStatement.
setExpression
(
Expression expression)
Sets the expression of this throw statement. |
void
|
ConditionalExpression.
setExpression
(
Expression expression)
Sets the condition of this conditional expression. |
void
|
ArrayAccess.
setIndex
(
Expression expression)
Sets the index expression of this array access expression. |
void
|
VariableDeclarationFragment.
setInitializer
(
Expression initializer)
|
abstract void
|
VariableDeclaration.
setInitializer
(
Expression initializer)
Sets or clears the initializer of this variable declaration. |
void
|
SingleVariableDeclaration.
setInitializer
(
Expression initializer)
|
void
|
Assignment.
setLeftHandSide
(
Expression expression)
Sets the left hand side of this assignment expression. |
void
|
InstanceofExpression.
setLeftOperand
(
Expression expression)
Sets the left operand of this instanceof expression. |
void
|
InfixExpression.
setLeftOperand
(
Expression expression)
Sets the left operand of this infix 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
|
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. |