Package | Description |
---|---|
com.github.javaparser | |
com.github.javaparser.ast.body | |
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.stmt | |
com.github.javaparser.ast.type |
Modifier and Type | Method and Description |
---|---|
static FieldDeclaration |
ASTHelper.createFieldDeclaration(int modifiers,
Type type,
java.lang.String name)
Creates a
FieldDeclaration . |
static FieldDeclaration |
ASTHelper.createFieldDeclaration(int modifiers,
Type type,
VariableDeclarator variable)
Creates a
FieldDeclaration . |
static Parameter |
ASTHelper.createParameter(Type type,
java.lang.String name)
Creates a new
Parameter . |
static VariableDeclarationExpr |
ASTHelper.createVariableDeclarationExpr(Type type,
java.lang.String name)
Creates a
VariableDeclarationExpr . |
Modifier and Type | Method and Description |
---|---|
Type |
Parameter.getType() |
Type |
MethodDeclaration.getType() |
Type |
FieldDeclaration.getType() |
Type |
AnnotationMemberDeclaration.getType() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Type> |
MultiTypeParameter.getTypes() |
Modifier and Type | Method and Description |
---|---|
void |
Parameter.setType(Type type) |
void |
MethodDeclaration.setType(Type type) |
void |
FieldDeclaration.setType(Type type) |
void |
AnnotationMemberDeclaration.setType(Type type) |
Modifier and Type | Method and Description |
---|---|
void |
MultiTypeParameter.setTypes(java.util.List<Type> types) |
Constructor and Description |
---|
AnnotationMemberDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
java.util.List<AnnotationExpr> annotations,
Type type,
java.lang.String name,
Expression defaultValue) |
AnnotationMemberDeclaration(int modifiers,
java.util.List<AnnotationExpr> annotations,
Type type,
java.lang.String name,
Expression defaultValue) |
AnnotationMemberDeclaration(int modifiers,
Type type,
java.lang.String name,
Expression defaultValue) |
FieldDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
java.util.List<AnnotationExpr> annotations,
Type type,
java.util.List<VariableDeclarator> variables) |
FieldDeclaration(int modifiers,
java.util.List<AnnotationExpr> annotations,
Type type,
java.util.List<VariableDeclarator> variables) |
FieldDeclaration(int modifiers,
Type type,
java.util.List<VariableDeclarator> variables) |
FieldDeclaration(int modifiers,
Type type,
VariableDeclarator variable) |
MethodDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
java.util.List<AnnotationExpr> annotations,
java.util.List<TypeParameter> typeParameters,
Type type,
java.lang.String name,
java.util.List<Parameter> parameters,
int arrayCount,
java.util.List<NameExpr> throws_,
BlockStmt block) |
MethodDeclaration(int modifiers,
java.util.List<AnnotationExpr> annotations,
java.util.List<TypeParameter> typeParameters,
Type type,
java.lang.String name,
java.util.List<Parameter> parameters,
int arrayCount,
java.util.List<NameExpr> throws_,
BlockStmt block) |
MethodDeclaration(int modifiers,
Type type,
java.lang.String name) |
MethodDeclaration(int modifiers,
Type type,
java.lang.String name,
java.util.List<Parameter> parameters) |
Parameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
java.util.List<AnnotationExpr> annotations,
Type type,
boolean isVarArgs,
VariableDeclaratorId id) |
Parameter(int modifiers,
Type type,
VariableDeclaratorId id) |
Parameter(Type type,
VariableDeclaratorId id) |
Constructor and Description |
---|
MultiTypeParameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
java.util.List<AnnotationExpr> annotations,
java.util.List<Type> types,
VariableDeclaratorId id) |
MultiTypeParameter(int modifiers,
java.util.List<AnnotationExpr> annotations,
java.util.List<Type> types,
VariableDeclaratorId id) |
Modifier and Type | Method and Description |
---|---|
Type |
VariableDeclarationExpr.getType() |
Type |
TypeExpr.getType() |
Type |
InstanceOfExpr.getType() |
Type |
ClassExpr.getType() |
Type |
CastExpr.getType() |
Type |
ArrayCreationExpr.getType() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Type> |
ObjectCreationExpr.getTypeArgs() |
java.util.List<Type> |
MethodCallExpr.getTypeArgs() |
java.util.List<Type> |
FieldAccessExpr.getTypeArgs() |
Modifier and Type | Method and Description |
---|---|
void |
VariableDeclarationExpr.setType(Type type) |
void |
TypeExpr.setType(Type type) |
void |
InstanceOfExpr.setType(Type type) |
void |
ClassExpr.setType(Type type) |
void |
CastExpr.setType(Type type) |
void |
ArrayCreationExpr.setType(Type type) |
Modifier and Type | Method and Description |
---|---|
void |
ObjectCreationExpr.setTypeArgs(java.util.List<Type> typeArgs) |
void |
MethodCallExpr.setTypeArgs(java.util.List<Type> typeArgs) |
void |
FieldAccessExpr.setTypeArgs(java.util.List<Type> typeArgs) |
Constructor and Description |
---|
ArrayCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
int arrayCount,
ArrayInitializerExpr initializer) |
ArrayCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
java.util.List<Expression> dimensions,
int arrayCount) |
ArrayCreationExpr(Type type,
int arrayCount,
ArrayInitializerExpr initializer) |
ArrayCreationExpr(Type type,
java.util.List<Expression> dimensions,
int arrayCount) |
CastExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
Expression expr) |
CastExpr(Type type,
Expression expr) |
ClassExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type) |
ClassExpr(Type type) |
InstanceOfExpr(Expression expr,
Type type) |
InstanceOfExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression expr,
Type type) |
TypeExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type) |
VariableDeclarationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
java.util.List<AnnotationExpr> annotations,
Type type,
java.util.List<VariableDeclarator> vars) |
VariableDeclarationExpr(int modifiers,
Type type,
java.util.List<VariableDeclarator> vars) |
VariableDeclarationExpr(Type type,
java.util.List<VariableDeclarator> vars) |
Constructor and Description |
---|
FieldAccessExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression scope,
java.util.List<Type> typeArgs,
java.lang.String field) |
MethodCallExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression scope,
java.util.List<Type> typeArgs,
java.lang.String name,
java.util.List<Expression> args) |
ObjectCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression scope,
ClassOrInterfaceType type,
java.util.List<Type> typeArgs,
java.util.List<Expression> args,
java.util.List<BodyDeclaration> anonymousBody) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Type> |
ExplicitConstructorInvocationStmt.getTypeArgs() |
Modifier and Type | Method and Description |
---|---|
void |
ExplicitConstructorInvocationStmt.setTypeArgs(java.util.List<Type> typeArgs) |
Constructor and Description |
---|
CatchClause(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int exceptModifier,
java.util.List<AnnotationExpr> exceptAnnotations,
java.util.List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
CatchClause(int exceptModifier,
java.util.List<AnnotationExpr> exceptAnnotations,
java.util.List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
ExplicitConstructorInvocationStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
java.util.List<Type> typeArgs,
boolean isThis,
Expression expr,
java.util.List<Expression> args) |
Modifier and Type | Class and Description |
---|---|
class |
ClassOrInterfaceType |
class |
PrimitiveType |
class |
ReferenceType |
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 |
---|---|
java.util.List<Type> |
ClassOrInterfaceType.getTypeArgs() |
Modifier and Type | Method and Description |
---|---|
void |
ReferenceType.setType(Type type) |
Modifier and Type | Method and Description |
---|---|
void |
ClassOrInterfaceType.setTypeArgs(java.util.List<Type> typeArgs) |
Constructor and Description |
---|
ReferenceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
int arrayCount) |
ReferenceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
int arrayCount,
java.util.List<AnnotationExpr> annotations,
java.util.List<java.util.List<AnnotationExpr>> arraysAnnotations) |
ReferenceType(Type type) |
ReferenceType(Type type,
int arrayCount) |
Constructor and Description |
---|
ClassOrInterfaceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
ClassOrInterfaceType scope,
java.lang.String name,
java.util.List<Type> typeArgs) |
Copyright © 2007-2015. All Rights Reserved.