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.
|
oracle.jdeveloper.java.util |
Public utilities for use with the java model, including the parser.
|
Modifier and Type | Method and Description |
---|---|
abstract SourceTypeArgument |
SourceFactory.createTypeArgument(int bound,
SourceTypeReference type)
Creates a type argument.
|
abstract SourceTypeArgument |
SourceFactory.createTypeArgumentFromText(java.lang.String text)
Parses the incoming text and attempts to make a type argument
from that text.
|
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) |
Constructor and Description |
---|
CreateTypeHelper(SourceFactory factory,
java.lang.String className,
int kind,
java.lang.String[] superTypes,
JavaManager javaManager,
java.lang.String[] constructorTypes,
java.util.List<SourceTypeArgument> typeArguments) |