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 |
---|---|
abstract SourceTypeArgument |
SourceFactory.createTypeArgument(int bound, SourceTypeReference type)
Creates a type argument.
|
Modifier and Type | Method and Description |
---|---|
abstract SourceMethodCallExpression |
SourceFactory.createMethodCall(SourceExpression lhs, SourceTypeArgument[] typeArguments, java.lang.String name, SourceListExpression arguments)
Creates a method call.
|
abstract SourceMethodReferenceExpression |
SourceFactory.createMethodReferenceExpression(SourceExpression lhs, SourceTypeArgument[] typeArguments, java.lang.String methodName)
Create a SourceMethodReferenceExpression, valid in JDK8 and higher.
|
abstract SourceTypeArgumentList |
SourceFactory.createTypeArgumentList(SourceTypeArgument[] typeArguments)
Creates a SourceTypeArgumentList
|
Modifier and Type | Field and Description |
---|---|
static SourceTypeArgument[] |
SourceTypeArgument.EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
java.util.List<SourceTypeArgument> |
SourceTypeReference.getTypeArguments()
Get the list of SourceTypeArguments.
|
java.util.List<SourceTypeArgument> |
SourceTypeArgumentList.getTypeArguments()
Get the type arguments of this list
|
Modifier and Type | Method and Description |
---|---|
void |
SourceTypeReference.setTypeArguments(java.util.List<SourceTypeArgument> typeArguments)
Change the type arguments.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<SourceTypeArgument> |
SourceHasTypeArgumentsExpression.getTypeArguments()
Get the list of SourceTypeArguments.
|
Modifier and Type | Method and Description |
---|---|
void |
SourceVisitor.whenEnterTypeArgument(SourceTypeArgument sourceTypeArgument) |
void |
SourceVisitor.whenExitTypeArgument(SourceTypeArgument sourceTypeArgument) |