Module jdk.compiler

Interface ClassTree

All Superinterfaces:
StatementTree, Tree

public interface ClassTree extends StatementTree
A tree node for a class, interface, enum, record, or annotation type declaration. For example:
   modifiers class simpleName typeParameters
       extends extendsClause
       implements implementsClause
   {
       members
   }
 
See Java Language Specification:
8.1 Class Declarations
8.9 Enum Types
8.10 Record Types
9.1 Interface Declarations
9.6 Annotation Types
Since:
1.6