| Package | Description |
|---|---|
| com.github.javaparser.ast | |
| com.github.javaparser.ast.body | |
| com.github.javaparser.ast.expr | |
| com.github.javaparser.ast.type | |
| com.github.javaparser.ast.visitor |
| Modifier and Type | Method and Description |
|---|---|
List<ClassOrInterfaceType> |
TypeParameter.getTypeBound()
Return the list of
ClassOrInterfaceType that this parameter
extends. |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeParameter.setTypeBound(List<ClassOrInterfaceType> typeBound)
Sets the list o types.
|
| Constructor and Description |
|---|
TypeParameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
String name,
List<ClassOrInterfaceType> typeBound) |
TypeParameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
String name,
List<ClassOrInterfaceType> typeBound,
List<AnnotationExpr> annotations) |
TypeParameter(String name,
List<ClassOrInterfaceType> typeBound) |
| Modifier and Type | Method and Description |
|---|---|
List<ClassOrInterfaceType> |
ClassOrInterfaceDeclaration.getExtends() |
List<ClassOrInterfaceType> |
ClassOrInterfaceDeclaration.getImplements() |
List<ClassOrInterfaceType> |
EnumDeclaration.getImplements() |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassOrInterfaceDeclaration.setExtends(List<ClassOrInterfaceType> extendsList) |
void |
ClassOrInterfaceDeclaration.setImplements(List<ClassOrInterfaceType> implementsList) |
void |
EnumDeclaration.setImplements(List<ClassOrInterfaceType> implementsList) |
| Constructor and Description |
|---|
ClassOrInterfaceDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
ClassOrInterfaceDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
ClassOrInterfaceDeclaration(int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
ClassOrInterfaceDeclaration(int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
EnumDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<ClassOrInterfaceType> implementsList,
List<EnumConstantDeclaration> entries,
List<BodyDeclaration> members) |
EnumDeclaration(int modifiers,
List<AnnotationExpr> annotations,
String name,
List<ClassOrInterfaceType> implementsList,
List<EnumConstantDeclaration> entries,
List<BodyDeclaration> members) |
| Modifier and Type | Method and Description |
|---|---|
ClassOrInterfaceType |
ObjectCreationExpr.getType() |
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectCreationExpr.setType(ClassOrInterfaceType type) |
| Constructor and Description |
|---|
ObjectCreationExpr(Expression scope,
ClassOrInterfaceType type,
List<Expression> args)
Defines a call to a constructor.
|
ObjectCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression scope,
ClassOrInterfaceType type,
List<Type> typeArgs,
List<Expression> args,
List<BodyDeclaration> anonymousBody) |
| Modifier and Type | Method and Description |
|---|---|
ClassOrInterfaceType |
ClassOrInterfaceType.getScope() |
ClassOrInterfaceType |
PrimitiveType.toBoxedType() |
ClassOrInterfaceType |
PrimitiveType.Primitive.toBoxedType() |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassOrInterfaceType.setScope(ClassOrInterfaceType scope) |
| Constructor and Description |
|---|
ClassOrInterfaceType(ClassOrInterfaceType scope,
String name) |
ClassOrInterfaceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
ClassOrInterfaceType scope,
String name,
List<Type> typeArgs)
Deprecated.
use the other constructor that takes
TypeArguments |
ClassOrInterfaceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
ClassOrInterfaceType scope,
String name,
TypeArguments typeArguments) |
| Modifier and Type | Method and Description |
|---|---|
R |
GenericVisitor.visit(ClassOrInterfaceType n,
A arg) |
void |
VoidVisitor.visit(ClassOrInterfaceType n,
A arg) |
void |
VoidVisitorAdapter.visit(ClassOrInterfaceType n,
A arg) |
Node |
ModifierVisitorAdapter.visit(ClassOrInterfaceType n,
A arg) |
R |
GenericVisitorAdapter.visit(ClassOrInterfaceType n,
A arg) |
Boolean |
EqualsVisitor.visit(ClassOrInterfaceType n1,
Node arg) |
void |
DumpVisitor.visit(ClassOrInterfaceType n,
Object arg) |
Node |
CloneVisitor.visit(ClassOrInterfaceType _n,
Object _arg) |
Copyright © 2007–2016. All rights reserved.