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 |
---|---|
ThrowsT |
TreeFactory.createThrowsClause(TypeReferenceT exception)
Creates a throws clause for a method or constructor declaration.
|
abstract ThrowsT |
TreeFactory.createThrowsClause(TypeReferenceT[] exceptions)
Creates a throws clause for a method or constructor declaration.
|
Modifier and Type | Method and Description |
---|---|
MethodT |
TreeFactory.createConstructor(FormalParameterListT parameters, ThrowsT throwsClause, BlockT block)
Creates a constructor 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.
|
MethodT |
TreeFactory.createMethod(TypeReferenceT returnType, java.lang.String name, FormalParameterListT parameters, ThrowsT throwsClause, BlockT block)
Creates a method declaration.
|
void |
TreeVisitor.visitThrowsClause(ThrowsT tree)
Visits a ThrowsT.
|
Modifier and Type | Method and Description |
---|---|
ThrowsT |
MethodT.getThrowsClause()
Gets the throws clause object.
|