StatementTree
, Tree
public interface ClassTree extends StatementTree
modifiers class simpleName typeParameters extends extendsClause implements implementsClause { members }
Modifier and Type | Method | Description |
---|---|---|
Tree |
getExtendsClause() |
Returns the supertype of this type declaration,
or
null if none is provided. |
List<? extends Tree> |
getImplementsClause() |
Returns the interfaces implemented by this type declaration.
|
List<? extends Tree> |
getMembers() |
Returns the members declared in this type declaration.
|
ModifiersTree |
getModifiers() |
Returns the modifiers, including any annotations,
for this type declaration.
|
Name |
getSimpleName() |
Returns the simple name of this type declaration.
|
List<? extends TypeParameterTree> |
getTypeParameters() |
Returns any type parameters of this type declaration.
|
ModifiersTree getModifiers()
Name getSimpleName()
List<? extends TypeParameterTree> getTypeParameters()
Tree getExtendsClause()
null
if none is provided.List<? extends Tree> getImplementsClause()
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 © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1