- 
- All Superinterfaces:
- StatementTree,- Tree
 
 public interface ClassTree extends StatementTree A tree node for a class, interface, enum, or annotation type declaration. For example:modifiers class simpleName typeParameters extends extendsClause implements implementsClause { members }- Since:
- 1.6
- See The Java™ Language Specification:
- sections 8.1, 8.9, 9.1, and 9.6
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description TreegetExtendsClause()Returns the supertype of this type declaration, ornullif 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.ModifiersTreegetModifiers()Returns the modifiers, including any annotations, for this type declaration.NamegetSimpleName()Returns the simple name of this type declaration.List<? extends TypeParameterTree>getTypeParameters()Returns any type parameters of this type declaration.
 
- 
- 
- 
Method Detail- 
getModifiersModifiersTree getModifiers() Returns the modifiers, including any annotations, for this type declaration.- Returns:
- the modifiers
 
 - 
getSimpleNameName getSimpleName() Returns the simple name of this type declaration.- Returns:
- the simple name
 
 - 
getTypeParametersList<? extends TypeParameterTree> getTypeParameters() Returns any type parameters of this type declaration.- Returns:
- the type parameters
 
 - 
getExtendsClauseTree getExtendsClause() Returns the supertype of this type declaration, ornullif none is provided.- Returns:
- the supertype
 
 - 
getImplementsClauseList<? extends Tree> getImplementsClause() Returns the interfaces implemented by this type declaration.- Returns:
- the interfaces
 
 
- 
 
-