StatementTree
, Tree
public interface ClassDeclarationTree extends StatementTree
Modifier and Type | Method | Description |
---|---|---|
List<? extends PropertyTree> |
getClassElements() |
Get other property definitions except for the constructor.
|
ExpressionTree |
getClassHeritage() |
The expression of the
extends clause. |
PropertyTree |
getConstructor() |
Get the constructor method definition.
|
IdentifierTree |
getName() |
Class identifier.
|
accept, getEndPosition, getKind, getStartPosition
IdentifierTree getName()
ExpressionTree getClassHeritage()
extends
clause. Optional.PropertyTree getConstructor()
List<? extends PropertyTree> getClassElements()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b161-1