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.model.doc |
The parser model API for doc elements.
|
oracle.javatools.parser.java.v2.util |
Various utilities for use with the parser.
|
Modifier and Type | Method and Description |
---|---|
abstract SourceFormalParameter |
SourceFactory.createFormalParameter(SourceLocalVariable variable)
Creates a formal parameter using a local variable as a template.
|
Modifier and Type | Method and Description |
---|---|
SourceFormalParameterList |
SourceFactory.createFormalParameterList(SourceFormalParameter parameter)
Creates a formal parameter list.
|
abstract SourceFormalParameterList |
SourceFactory.createFormalParameterList(SourceFormalParameter[] parameters)
Creates a formal parameter list.
|
SourceTryStatement |
SourceFactory.createTryCatchFinallyStatement(SourceBlockStatement tryClause,
SourceFormalParameter parameter,
SourceBlockStatement catchClause,
SourceBlockStatement finallyClause)
Deprecated.
Use createTryCatchFinallyStatement(
SourceBlockStatement, SourceCatchParameter, SourceBlockStatement,
SourceBlockStatement instead
|
SourceTryStatement |
SourceFactory.createTryCatchStatement(SourceBlockStatement tryClause,
SourceFormalParameter parameter,
SourceBlockStatement catchClause)
Deprecated.
Use createTryCatchStatement( SourceBlockStatement,
SourceCatchParameter, SourceBlockStatement ) instead
|
Modifier and Type | Interface and Description |
---|---|
interface |
SourceCatchParameter
Represents a catch clause parameter, which is similar to a
SourceFormalParameter except the type can be the union of
several disjunct types.
|
interface |
SourceLambdaParameter
Represents one lambda expression parameter.
|
Modifier and Type | Field and Description |
---|---|
static SourceFormalParameter[] |
SourceFormalParameter.EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
boolean |
FlowAnalysisListener.parameterUsed(SourceFormalParameter parameter,
SourceSimpleNameExpression context)
Usage of a parameter.
|
Modifier and Type | Method and Description |
---|---|
SourceFormalParameter |
CompiledDocReference.getResolvedParameter()
Gets the parameter to which this reference resolves.
|
Modifier and Type | Method and Description |
---|---|
void |
Usages.declareParameter(SourceFormalParameter s)
Declares a formal parameter.
|
void |
SourceVisitor.whenEnterFormalParameter(SourceFormalParameter sourceVariable) |
void |
SourceVisitor.whenExitFormalParameter(SourceFormalParameter sourceVariable) |