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 |
---|---|
abstract FormalParameterT |
TreeFactory.createFormalParameter(LocalVariableT variable)
Creates a formal parameter.
|
Modifier and Type | Method and Description |
---|---|
CatchClauseT |
TreeFactory.createCatchClause(FormalParameterT parameter,
BlockStatementT child)
Creates a catch clause for a try-catch or a try-catch-finally
statement.
|
FormalParameterListT |
TreeFactory.createFormalParameterList(FormalParameterT parameter)
Creates a formal parameter list.
|
abstract FormalParameterListT |
TreeFactory.createFormalParameterList(FormalParameterT[] parameters)
Creates a formal parameter list.
|
abstract TryStatementT |
TreeFactory.createTryCatchFinallyStatement(BlockStatementT tryClause,
FormalParameterT parameter,
BlockStatementT catchClause,
BlockStatementT finallyClause)
Creates a try-catch-finally statement with a single catch clause.
|
abstract TryStatementT |
TreeFactory.createTryCatchStatement(BlockStatementT tryClause,
FormalParameterT parameter,
BlockStatementT catchClause)
Creates a try-catch statement with a single catch clause.
|
void |
TreeVisitor.visitFormalParameter(FormalParameterT tree)
Visits a FormalParameterT.
|
Modifier and Type | Field and Description |
---|---|
static FormalParameterT[] |
FormalParameterT.EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
FormalParameterT |
CatchClauseT.getCatchVariable()
A catch clause declares one variable, the caught exception.
|