Interface BlockTree
- All Superinterfaces:
StatementTree, Tree
A tree node for a statement block.
For example:
{ }
{ statements }
- Since:
- 9
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends StatementTree> Returns the list of statements in this block.Methods inherited from interface Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getStatements
List<? extends StatementTree> getStatements()Returns the list of statements in this block.- Returns:
- the list of statements in this block
-