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.expression |
The parser model API for expressions.
|
oracle.javatools.parser.java.v2.util |
Various utilities for use with the parser.
|
Modifier and Type | Method and Description |
---|---|
SourceFormalParameterList |
SourceFactory.createFormalParameterList()
Creates an empty formal parameter list.
|
SourceFormalParameterList |
SourceFactory.createFormalParameterList(SourceFormalParameter parameter)
Creates a formal parameter list.
|
abstract SourceFormalParameterList |
SourceFactory.createFormalParameterList(SourceFormalParameter[] parameters)
Creates a formal parameter list.
|
SourceFormalParameterList |
SourceFactory.createFormalParameterList(SourceLocalVariable variable)
Creates a formal parameter list using a local variable as a template.
|
SourceFormalParameterList |
SourceFactory.createFormalParameterList(SourceLocalVariable[] variables)
Creates a formal parameter list using local variables as a template.
|
Modifier and Type | Method and Description |
---|---|
abstract SourceCatchClause |
SourceFactory.createCatchClause(SourceFormalParameterList parameters,
SourceBlockStatement block)
Deprecated.
Use createCatchClause( SourceCatchParameter, SourceBlockStatement )
instead
|
SourceMethod |
SourceFactory.createConstructor(SourceFormalParameterList parameters,
SourceThrowsClause throwsClause,
SourceBlock block)
Creates a constructor declaration.
|
abstract SourceMethod |
SourceFactory.createConstructor(SourceTypeParameter[] typeParameters,
SourceFormalParameterList parameters,
SourceThrowsClause throwsClause,
SourceBlock block)
Creates a constructor declaration.
|
abstract SourceMethod |
SourceFactory.createMethod(SourceTypeParameter[] tyParameters,
SourceTypeReference returnType,
java.lang.String methodName,
SourceFormalParameterList parameters,
SourceThrowsClause throwsClause,
SourceBlock block)
Creates a method declaration.
|
SourceMethod |
SourceFactory.createMethod(SourceTypeReference returnType,
java.lang.String methodName,
SourceFormalParameterList parameters,
SourceThrowsClause throwsClause,
SourceBlock block)
Creates a non-generic method declaration.
|
abstract SourceTryStatement |
SourceFactory.createTryCatchFinallyStatement(SourceBlockStatement tryClause,
SourceFormalParameterList parameters,
SourceBlockStatement catchClause,
SourceBlockStatement finallyClause)
Deprecated.
Use createTryCatchFinallyStatement(
SourceBlockStatement, SourceCatchParameter, SourceBlockStatement,
SourceBlockStatement instead
|
abstract SourceTryStatement |
SourceFactory.createTryCatchStatement(SourceBlockStatement tryClause,
SourceFormalParameterList parameters,
SourceBlockStatement catchClause)
Deprecated.
Use createTryCatchStatement( SourceBlockStatement,
SourceCatchParameter, SourceBlockStatement ) instead
|
Modifier and Type | Method and Description |
---|---|
SourceFormalParameterList |
SourceMethod.getFormalParameterList()
Gets the formal parameter list object.
|
Modifier and Type | Method and Description |
---|---|
SourceFormalParameterList |
SourceLambdaExpression.getFormalParameterList()
Get the formal parameter list.
|
Modifier and Type | Method and Description |
---|---|
void |
SourceVisitor.whenEnterFormals(SourceFormalParameterList sourceFormalParameters) |
void |
SourceVisitor.whenExitFormals(SourceFormalParameterList sourceFormalParameters) |