public interface ClassTree extends StatementTree
modifiers class simpleName typeParameters extends extendsClause implements implementsClause { members }
Modifier and Type | Method and 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()
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-152615.buildd.src