Java org.eclipse.jdt.core.dom ConditionalExpression fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom ConditionalExpression fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom ConditionalExpression.

The text is from its open source code.

Field

ChildPropertyDescriptorEXPRESSION_PROPERTY
The "expression" structural property of this node type (child type: Expression ).
ChildPropertyDescriptorTHEN_EXPRESSION_PROPERTY
The "thenExpression" structural property of this node type (child type: Expression ).
ChildPropertyDescriptorELSE_EXPRESSION_PROPERTY
The "elseExpression" structural property of this node type (child type: Expression ).

Constructor

ConditionalExpression(AST ast)
Creates a new unparented conditional expression node owned by the given AST.

Method

ExpressiongetElseExpression()
Returns the "else" part of this conditional expression.
ExpressiongetExpression()
Returns the condition of this conditional expression.
ExpressiongetThenExpression()
Returns the "then" part of this conditional expression.
voidsetElseExpression(Expression expression)
Sets the "else" part of this conditional expression.
voidsetExpression(Expression expression)
Sets the condition of this conditional expression.
voidsetThenExpression(Expression expression)
Sets the "then" part of this conditional expression.