Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Compiler Tree API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.source.tree
Interface ClassTree

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 Also:
  "The Java Language Specification, 3rd ed, sections 8.1, 8.9, 9.1, and 9.6"

Nested Class Summary

Nested classes/interfaces inherited from interface com.sun.source.tree.Tree
`Tree.Kind`

Method Summary
`Tree` | `getExtendsClause()`
`List<? extends Tree>` | `getImplementsClause()`
`List<? extends Tree>` | `getMembers()`
`ModifiersTree` | `getModifiers()`
`Name` | `getSimpleName()`
`List<? extends TypeParameterTree>` | `getTypeParameters()`

Methods inherited from interface com.sun.source.tree.Tree
`accept, getKind`

Method Detail

### getModifiers

    ModifiersTree getModifiers()

### getSimpleName

    Name getSimpleName()

### getTypeParameters

    List<? extends TypeParameterTree> getTypeParameters()

### getExtendsClause

    Tree getExtendsClause()

### getImplementsClause

    List<? extends Tree> getImplementsClause()

### getMembers

    List<? extends Tree> getMembers()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Compiler Tree API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature
Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.