| Package | Description |
|---|---|
| oracle.javatools.parser.java.v2 |
The parser API.
|
| oracle.javatools.parser.java.v2.model |
The parser model API.
|
| oracle.javatools.parser.java.v2.util |
Various utilities for use with the parser.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SourceCatchParameter |
SourceFactory.createCatchParameter(java.util.List<SourceTypeReference> types, java.lang.String name)
Creates a catch clause parameter from a union of types
|
abstract SourceCatchParameter |
SourceFactory.createCatchParameter(SourceTypeReference type, java.lang.String name)
Creates a catch clause parameter from one type
|
| Modifier and Type | Method and Description |
|---|---|
abstract SourceCatchClause |
SourceFactory.createCatchClause(SourceCatchParameter parameter, SourceBlockStatement block)
Creates a catch clause for a try-catch or a try-catch-finally statement.
|
abstract SourceTryStatement |
SourceFactory.createTryCatchFinallyStatement(SourceBlockStatement tryClause, SourceCatchParameter parameter, SourceBlockStatement catchClause, SourceBlockStatement finallyClause)
Creates a try-catch-finally statement with a single catch clause.
|
abstract SourceTryStatement |
SourceFactory.createTryCatchStatement(SourceBlockStatement tryClause, SourceCatchParameter parameter, SourceBlockStatement catchClause)
Creates a try-catch statement with a single catch clause.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FlowAnalysisListener.catchParameterUsed(SourceCatchParameter parameter, SourceSimpleNameExpression context)
Usage of a catch parameter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Usages.declareCatchParameter(SourceCatchParameter s)
Declares a parameter of a catch clause
|
void |
SourceVisitor.whenEnterCatchParameter(SourceCatchParameter sourceCatchParameter) |
void |
SourceVisitor.whenExitCatchParameter(SourceCatchParameter sourceCatchParameter) |