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 |
---|---|
TypeParameterT |
TreeFactory.createTypeParameter(java.lang.String name)
Creates a type parameter.
|
TypeParameterT |
TreeFactory.createTypeParameter(java.lang.String name,
TypeReferenceT bound)
Creates a type parameter.
|
abstract TypeParameterT |
TreeFactory.createTypeParameter(java.lang.String name,
TypeReferenceT[] bounds)
Creates a type parameter.
|
Modifier and Type | Method and Description |
---|---|
abstract ClassT |
TreeFactory.createClass(ClassT.ClassKind typeKind,
java.lang.String name,
TypeParameterT[] typeParameters,
SuperclassT superclass,
InterfacesT interfaces,
ClassBodyT body)
Creates a class declaration.
|
abstract MethodT |
TreeFactory.createConstructor(TypeParameterT[] typeParameters,
FormalParameterListT parameters,
ThrowsT throwsClause,
BlockT block)
Creates a constructor declaration
|
abstract MethodT |
TreeFactory.createMethod(TypeParameterT[] typeParameters,
TypeReferenceT returnType,
java.lang.String name,
FormalParameterListT parameters,
ThrowsT throwsClause,
BlockT block)
Creates a method declaration.
|
void |
TreeVisitor.visitTypeParameter(TypeParameterT tree)
Visits a TypeParameterT.
|
Modifier and Type | Field and Description |
---|---|
static TypeParameterT[] |
TypeParameterT.EMPTY_ARRAY |