Modifier and Type | Method and Description |
---|---|
List<Type> |
TypeArguments.getTypeArguments() |
Modifier and Type | Method and Description |
---|---|
static TypeArguments |
TypeArguments.withArguments(List<Type> typeArguments) |
Modifier and Type | Method and Description |
---|---|
Type |
Parameter.getType() |
Type |
FieldDeclaration.getType() |
Type |
AnnotationMemberDeclaration.getType() |
Type |
MethodDeclaration.getType() |
Modifier and Type | Method and Description |
---|---|
static FieldDeclaration |
FieldDeclaration.create(EnumSet<Modifier> modifiers,
Type type,
String name)
Creates a
FieldDeclaration . |
static FieldDeclaration |
FieldDeclaration.create(EnumSet<Modifier> modifiers,
Type type,
VariableDeclarator variable)
Creates a
FieldDeclaration . |
static Parameter |
Parameter.create(Type type,
String name)
Creates a new
Parameter . |
Parameter |
Parameter.setType(Type type) |
FieldDeclaration |
FieldDeclaration.setType(Type type) |
AnnotationMemberDeclaration |
AnnotationMemberDeclaration.setType(Type type) |
MethodDeclaration |
MethodDeclaration.setType(Type type) |
Modifier and Type | Method and Description |
---|---|
Type |
InstanceOfExpr.getType() |
Type |
ArrayCreationExpr.getType() |
Type |
VariableDeclarationExpr.getType() |
Type |
TypeExpr.getType() |
Type |
ClassExpr.getType() |
Type |
CastExpr.getType() |
Modifier and Type | Method and Description |
---|---|
List<Type> |
MethodCallExpr.getTypeArgs() |
List<Type> |
ObjectCreationExpr.getTypeArgs() |
List<Type> |
FieldAccessExpr.getTypeArgs() |
Modifier and Type | Method and Description |
---|---|
static VariableDeclarationExpr |
VariableDeclarationExpr.create(Type type,
String name)
Creates a
VariableDeclarationExpr . |
InstanceOfExpr |
InstanceOfExpr.setType(Type type) |
ArrayCreationExpr |
ArrayCreationExpr.setType(Type type) |
VariableDeclarationExpr |
VariableDeclarationExpr.setType(Type type) |
TypeExpr |
TypeExpr.setType(Type type) |
ClassExpr |
ClassExpr.setType(Type type) |
CastExpr |
CastExpr.setType(Type type) |
Modifier and Type | Method and Description |
---|---|
void |
MethodCallExpr.setTypeArgs(List<Type> typeArgs) |
void |
ObjectCreationExpr.setTypeArgs(List<Type> typeArgs) |
void |
FieldAccessExpr.setTypeArgs(List<Type> typeArgs) |
Constructor and Description |
---|
FieldAccessExpr(Range range,
Expression scope,
List<Type> typeArgs,
String field) |
MethodCallExpr(Range range,
Expression scope,
List<Type> typeArgs,
String name,
List<Expression> args) |
ObjectCreationExpr(Range range,
Expression scope,
ClassOrInterfaceType type,
List<Type> typeArgs,
List<Expression> args,
List<BodyDeclaration<?>> anonymousBody) |
Modifier and Type | Method and Description |
---|---|
Type |
NodeWithType.getType()
Gets the type
|
Modifier and Type | Method and Description |
---|---|
default Parameter |
NodeWithParameters.addAndGetParameter(Type type,
String name) |
default FieldDeclaration |
NodeWithMembers.addField(Type type,
String name,
Modifier... modifiers)
Add a field to this
|
default T |
NodeWithParameters.addParameter(Type type,
String name) |
T |
NodeWithType.setType(Type type)
Sets the type
|
Modifier and Type | Method and Description |
---|---|
List<Type> |
ExplicitConstructorInvocationStmt.getTypeArgs() |
Modifier and Type | Method and Description |
---|---|
void |
ExplicitConstructorInvocationStmt.setTypeArgs(List<Type> typeArgs) |
Constructor and Description |
---|
CatchClause(Range range,
EnumSet<Modifier> exceptModifier,
List<AnnotationExpr> exceptAnnotations,
Type exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
Constructor and Description |
---|
ExplicitConstructorInvocationStmt(Range range,
List<Type> typeArgs,
boolean isThis,
Expression expr,
List<Expression> args) |
Modifier and Type | Class and Description |
---|---|
class |
ClassOrInterfaceType |
class |
IntersectionType
Represents a set of types.
|
class |
PrimitiveType |
class |
ReferenceType |
class |
UnionType
Represents a set of types.
|
class |
UnknownType
An unknown parameter type object.
|
class |
VoidType |
class |
WildcardType |
Modifier and Type | Method and Description |
---|---|
Type |
ReferenceType.getType() |
Modifier and Type | Method and Description |
---|---|
List<Type> |
ClassOrInterfaceType.getTypeArgs() |
Modifier and Type | Method and Description |
---|---|
ReferenceType |
ReferenceType.setType(Type type) |
Modifier and Type | Method and Description |
---|---|
void |
ClassOrInterfaceType.setTypeArgs(List<Type> typeArgs)
Allows you to set the generic arguments
|
Constructor and Description |
---|
ReferenceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
int arrayCount,
List<AnnotationExpr> annotations,
List<List<AnnotationExpr>> arraysAnnotations) |
ReferenceType(Range range,
Type type,
int arrayCount) |
ReferenceType(Range range,
Type type,
int arrayCount,
List<AnnotationExpr> annotations,
List<List<AnnotationExpr>> arraysAnnotations) |
ReferenceType(Type type) |
ReferenceType(Type type,
int arrayCount) |
Copyright © 2007–2016. All rights reserved.