Uses of Class
org.eclipse.jdt.core.dom.Expression
Packages that use 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
Subclasses of Expression in org.eclipse.jdt.core.domModifier and TypeClassDescriptionclassAbstract base class of AST nodes that represent annotations.classArray access expression AST node type.classArray creation expression AST node type.classArray initializer AST node type.classAssignment expression AST node type.classBoolean literal node.classCase Default Literal Pattern node.classCast expression AST node type.classCharacter literal nodes.classClass instance creation expression AST node type.classConditional expression AST node type.classCreation reference expression AST node type (added in JLS8 API).classEitherOrMultiPattern AST node type.classExpression method reference AST node type (added in JLS8 API).classField access expression AST node type.classGuardedPattern pattern AST node type.classInfix expression AST node type.classInstanceof expression AST node type.classLambda expression AST node type (added in JLS8 API).final classMarker annotation node (added in JLS3 API).classMethod invocation expression AST node type.classAbstract base class of all AST node types that represent a method reference expression (added in JLS8 API).classAST node for a module qualified name.classAbstract base class for all AST nodes that represent names.final classNormal annotation node (added in JLS3 API).classNull literal node.classNull Pattern node.classNumber literal nodes.classParenthesized expression AST node type.classAbstract base class of AST nodes that represent patterns.classPatternInstanceof expression AST node type.classPostfix expression AST node type.classPrefix expression AST node type.classAST node for a qualified name.classTypePattern pattern AST node type.classAST node for a simple name.final classSingle member annotation node (added in JLS3 API).classString literal nodes.classSimple or qualified "super" field access expression AST node type.classSimple or qualified "super" method invocation expression AST node type.classSuper method reference AST node type (added in JLS8 API).classSwitch expression AST node type (added in JEP 325).classTextBlock AST node type.classSimple or qualified "this" AST node type.classType literal AST node type.classType method reference expression AST node type (added in JLS8 API).classTypePattern pattern AST node type.classLocal variable declaration expression AST node type.Methods in org.eclipse.jdt.core.dom that return ExpressionModifier and TypeMethodDescriptionArrayAccess.getArray()Returns the array expression of this array access expression.AnnotationTypeMemberDeclaration.getDefault()Returns the default value of this annotation type member, ornullif there is none.ConditionalExpression.getElseExpression()Returns the "else" part of this conditional expression.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, ornullif 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, ornullif there is none.GuardedPattern.getExpression()Returns the conditional expression of this pattern, ornullif 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, ornullif there is none.ParenthesizedExpression.getExpression()Returns the expression of this parenthesized expression.ReturnStatement.getExpression()Returns the expression of this return statement, ornullif there is none.SuperConstructorInvocation.getExpression()Returns the expression of this super constructor invocation statement, ornullif 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, ornullif there is none.ArrayAccess.getIndex()Returns the index expression of this array access expression.VariableDeclaration.getInitializer()Returns the initializer of this variable declaration, ornullif 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, ornullif there is none.PostfixExpression.getOperand()Returns the operand of this postfix expression.PrefixExpression.getOperand()Returns the operand of this prefix 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.Methods in org.eclipse.jdt.core.dom with parameters of type ExpressionModifier and TypeMethodDescriptionAST.newExpressionStatement(Expression expression) Creates a new unparented expression statement node owned by this AST, for the given expression.voidArrayAccess.setArray(Expression expression) Sets the array expression of this array access expression.voidAnnotationTypeMemberDeclaration.setDefault(Expression defaultValue) Sets or clears the default value of this annotation type member.voidConditionalExpression.setElseExpression(Expression expression) Sets the "else" part of this conditional expression.voidAssertStatement.setExpression(Expression expression) Sets the first expression of this assert statement.voidBreakStatement.setExpression(Expression expression) Deprecated.voidCastExpression.setExpression(Expression expression) Sets the expression of this cast expression.voidClassInstanceCreation.setExpression(Expression expression) Sets or clears the expression of this class instance creation expression.voidConditionalExpression.setExpression(Expression expression) Sets the condition of this conditional expression.voidDoStatement.setExpression(Expression expression) Sets the expression of this do statement.voidEnhancedForStatement.setExpression(Expression expression) Sets the expression of this enhanced for statement.voidExpressionMethodReference.setExpression(Expression expression) Sets the expression of this expression method reference.voidExpressionStatement.setExpression(Expression expression) Sets the expression of this expression statement.voidFieldAccess.setExpression(Expression expression) Sets the expression of this field access expression.voidForStatement.setExpression(Expression expression) Sets or clears the condition expression of this return statement.voidGuardedPattern.setExpression(Expression expression) Sets the conditional expression of this pattern, or clears it (turns it into the "default:" case).voidIfStatement.setExpression(Expression expression) Sets the condition of this if statement.voidMethodInvocation.setExpression(Expression expression) Sets or clears the expression of this method invocation expression.voidParenthesizedExpression.setExpression(Expression expression) Sets the expression of this parenthesized expression.voidReturnStatement.setExpression(Expression expression) Sets or clears the expression of this return statement.voidSuperConstructorInvocation.setExpression(Expression expression) Sets or clears the expression of this super constructor invocation statement.voidSwitchCase.setExpression(Expression expression) Deprecated.see JLS 12voidSwitchExpression.setExpression(Expression expression) Sets the expression of this switch statement.voidSwitchStatement.setExpression(Expression expression) Sets the expression of this switch statement.voidSynchronizedStatement.setExpression(Expression expression) Sets the expression of this synchronized statement.voidThrowStatement.setExpression(Expression expression) Sets the expression of this throw statement.voidWhileStatement.setExpression(Expression expression) Sets the expression of this while statement.voidYieldStatement.setExpression(Expression expression) Sets or clears the expression of this Yield statement.voidArrayAccess.setIndex(Expression expression) Sets the index expression of this array access expression.voidVariableDeclaration.setInitializer(Expression initializer) Sets or clears the initializer of this variable declaration.voidAssignment.setLeftHandSide(Expression expression) Sets the left hand side of this assignment expression.voidInfixExpression.setLeftOperand(Expression expression) Sets the left operand of this infix expression.voidInstanceofExpression.setLeftOperand(Expression expression) Sets the left operand of this instanceof expression.voidPatternInstanceofExpression.setLeftOperand(Expression expression) Sets the left operand of this instanceof expression.voidAssertStatement.setMessage(Expression expression) Sets or clears the message expression of this assert statement.voidPostfixExpression.setOperand(Expression expression) Sets the operand of this postfix expression.voidPrefixExpression.setOperand(Expression expression) Sets the operand of this prefix expression.voidAssignment.setRightHandSide(Expression expression) Sets the right hand side of this assignment expression.voidInfixExpression.setRightOperand(Expression expression) Sets the right operand of this infix expression.voidConditionalExpression.setThenExpression(Expression expression) Sets the "then" part of this conditional expression.voidMemberValuePair.setValue(Expression value) Sets the value of this pair.voidSingleMemberAnnotation.setValue(Expression value) Sets the value of this annotation.