Interface ClassDeclarationTree
- All Superinterfaces:
StatementTree, Tree
A tree node that represents a class declaration.
- Since:
- 9
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends PropertyTree> Get other property definitions except for the constructor.The expression of theextendsclause.Get the constructor method definition.getName()Class identifier.Methods inherited from interface Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getName
-
getClassHeritage
ExpressionTree getClassHeritage()The expression of theextendsclause. Optional.- Returns:
- the class heritage
-
getConstructor
-
getClassElements
List<? extends PropertyTree> getClassElements()Get other property definitions except for the constructor.- Returns:
- the class elements
-