Package org.sonar.plugins.java.api.tree
Interface ConditionalExpressionTree
- All Superinterfaces:
ExpressionTree
,Tree
- All Known Implementing Classes:
ConditionalExpressionTreeImpl
Conditional expression.
JLS 15.25
condition()
?trueExpression()
:falseExpression()
- Since:
- Java 1.3
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from interface org.sonar.plugins.java.api.tree.ExpressionTree
asConstant, asConstant, symbolType
-
Method Details
-
condition
ExpressionTree condition() -
questionToken
SyntaxToken questionToken() -
trueExpression
ExpressionTree trueExpression() -
colonToken
SyntaxToken colonToken() -
falseExpression
ExpressionTree falseExpression()
-