Package org.sonar.plugins.java.api.tree
Interface AssertStatementTree
-
- All Superinterfaces:
StatementTree
,Tree
- All Known Implementing Classes:
AssertStatementTreeImpl
@Beta public interface AssertStatementTree extends StatementTree
'assert' statement. JLS 14.10assert
condition()
; assertcondition()
:detail()
;- Since:
- Java 1.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyntaxToken
assertKeyword()
SyntaxToken
colonToken()
ExpressionTree
condition()
ExpressionTree
detail()
SyntaxToken
semicolonToken()
-
-
-
Method Detail
-
assertKeyword
SyntaxToken assertKeyword()
-
condition
ExpressionTree condition()
-
colonToken
@Nullable SyntaxToken colonToken()
-
detail
@Nullable ExpressionTree detail()
-
semicolonToken
SyntaxToken semicolonToken()
-
-