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 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.
|
abstract TryStatementT |
TreeFactory.createTryFinallyStatement(BlockStatementT child,
BlockStatementT finallyClause)
Creates a try-finally statement.
|
abstract TryStatementT |
TreeFactory.createTryStatement(BlockStatementT tryClause,
CatchClauseT[] catchClauses,
FinallyClauseT finallyClause)
Creates a try, try-catch, try-catch-finally, or a try-finally
statement.
|
TryStatementT |
TreeFactory.createTryStatement(BlockStatementT tryClause,
CatchClauseT catchClause,
FinallyClauseT finallyClause)
Creates a try, try-catch, try-catch-finally, or a try-finally
statement.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeVisitor.visitTryStatement(TryStatementT tree)
Visits a TryStatementT.
|
Modifier and Type | Method and Description |
---|---|
TryStatementT |
FinallyClauseT.getOwningTry() |
TryStatementT |
CatchClauseT.getOwningTry() |