| 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. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static ClassT.ClassKind | 
ClassT.ClassKind.ANNOTATION_TYPE
This ClassT is of the "annotation" type. 
 | 
static ClassT.ClassKind | 
ClassT.ClassKind.CLASS_TYPE
This ClassT is of the "class" type, not an enum type. 
 | 
static ClassT.ClassKind | 
ClassT.ClassKind.ENUM_TYPE
This ClassT is of the "enum" type. 
 | 
static ClassT.ClassKind | 
ClassT.ClassKind.INTERFACE_TYPE
This ClassT is of the "interface" type, not an annotation type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ClassT.ClassKind | 
ClassT.getTypeKind()
Identifies what kind of class declaration this is. 
 | 
static ClassT.ClassKind | 
ClassT.ClassKind.valueOf(java.lang.Class ignored,
       java.lang.String name)  | 
static ClassT.ClassKind | 
ClassT.ClassKind.valueOf(int ordinal)  | 
static ClassT.ClassKind[] | 
ClassT.ClassKind.values()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
ClassT.ClassKind.compareTo(ClassT.ClassKind other)  | 
void | 
ClassT.setTypeKind(ClassT.ClassKind typeKind)
Attempts to change the type of class this is. 
 |