@Beta public interface ClassTree extends StatementTree
JLS 8.1. Class declaration (Tree.Kind.CLASS
):
JLS 8.9. Enum declaration (modifiers()
classsimpleName()
typeParameters()
extendssuperClass()
implementssuperInterfaces()
{members()
}
Tree.Kind.ENUM
):
JLS 9.1. Interface declaration (modifiers()
enumsimpleName()
typeParameters()
implementssuperInterfaces()
{members()
}
Tree.Kind.INTERFACE
):
JLS 9.6. Annotation declaration (modifiers()
interfacesimpleName()
typeParameters()
extendssuperInterfaces()
{members()
}
Tree.Kind.ANNOTATION_TYPE
):
modifiers()
@
interfacesimpleName()
{members()
}
Modifier and Type | Method and Description |
---|---|
SyntaxToken |
closeBraceToken() |
SyntaxToken |
declarationKeyword() |
List<Tree> |
members() |
ModifiersTree |
modifiers() |
SyntaxToken |
openBraceToken() |
IdentifierTree |
simpleName() |
TypeTree |
superClass() |
ListTree<TypeTree> |
superInterfaces() |
Symbol.TypeSymbol |
symbol() |
TypeParameters |
typeParameters() |
@Nullable SyntaxToken declarationKeyword()
@Nullable IdentifierTree simpleName()
TypeParameters typeParameters()
ModifiersTree modifiers()
SyntaxToken openBraceToken()
SyntaxToken closeBraceToken()
Symbol.TypeSymbol symbol()
Copyright © 2012–2017 SonarSource. All rights reserved.