| Package | Description | 
|---|---|
| javax.ide.model.java.source | 
 Various interfaces for use with Tree objects. 
 | 
| javax.ide.model.java.source.tree | 
 The Java AST. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ClassT | 
TreeFactory.createClass(ClassT.ClassKind typeKind,
           java.lang.String name,
           SuperclassT superclass,
           InterfacesT interfaces,
           ClassBodyT body)
Creates a class declaration. 
 | 
abstract ClassT | 
TreeFactory.createClass(ClassT.ClassKind typeKind,
           java.lang.String name,
           TypeParameterT[] typeParameters,
           SuperclassT superclass,
           InterfacesT interfaces,
           ClassBodyT body)
Creates a class declaration. 
 | 
abstract ClassT | 
TreeFactory.textToClass(java.lang.String text)
Attempts to create a class with the given text. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TreeVisitor.visitClassDeclaration(ClassT tree)
Visits a ClassT. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static ClassT[] | 
ClassT.EMPTY_ARRAY  | 
| Modifier and Type | Method and Description | 
|---|---|
ClassT | 
NewClassExpressionT.getAnonymousClass()  | 
ClassT | 
EnumConstantT.getAnonymousClass()
Gets the anonymous class if one was defined. 
 | 
ClassT | 
FileT.getClass(java.lang.String name)
Gets the matching top-level source class. 
 | 
ClassT | 
ClassT.getDeclaredClass(java.lang.String name)
Gets the matching member class declarations. 
 | 
ClassT | 
MemberT.getDeclaringClass()
Gets the enclosing class. 
 | 
ClassT | 
FileT.getPrimaryClass()
Gets the primary class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
EnumConstantT.setAnonymousClass(ClassT anonymousClass)
Attempts to set the anonymous class. 
 |