| Package | Description |
|---|---|
| com.github.javaparser | |
| com.github.javaparser.ast.body | |
| com.github.javaparser.ast.type | |
| com.github.javaparser.ast.visitor |
| Modifier and Type | Method and Description |
|---|---|
static ReferenceType |
ASTHelper.createReferenceType(PrimitiveType type,
int arrayCount)
Creates a new
ReferenceType for the given primitive type. |
static ReferenceType |
ASTHelper.createReferenceType(String name,
int arrayCount)
Creates a new
ReferenceType for a class or interface. |
| Modifier and Type | Method and Description |
|---|---|
List<ReferenceType> |
MethodDeclaration.getThrows() |
| Modifier and Type | Method and Description |
|---|---|
void |
MethodDeclaration.setThrows(List<ReferenceType> throws_) |
| Constructor and Description |
|---|
MethodDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
Type type,
String name,
List<Parameter> parameters,
int arrayCount,
List<ReferenceType> throws_,
BlockStmt body) |
MethodDeclaration(int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
Type type,
String name,
List<Parameter> parameters,
int arrayCount,
List<ReferenceType> throws_,
BlockStmt body) |
| Modifier and Type | Method and Description |
|---|---|
ReferenceType |
WildcardType.getExtends() |
ReferenceType |
WildcardType.getSuper() |
| Modifier and Type | Method and Description |
|---|---|
List<ReferenceType> |
UnionType.getElements() |
List<ReferenceType> |
IntersectionType.getElements() |
| Modifier and Type | Method and Description |
|---|---|
void |
WildcardType.setExtends(ReferenceType ext) |
void |
WildcardType.setSuper(ReferenceType sup) |
| Modifier and Type | Method and Description |
|---|---|
void |
UnionType.setElements(List<ReferenceType> elements) |
void |
IntersectionType.setElements(List<ReferenceType> elements) |
| Constructor and Description |
|---|
WildcardType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
ReferenceType ext,
ReferenceType sup) |
WildcardType(ReferenceType ext) |
WildcardType(ReferenceType ext,
ReferenceType sup) |
| Constructor and Description |
|---|
IntersectionType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<ReferenceType> elements) |
IntersectionType(List<ReferenceType> elements) |
UnionType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<ReferenceType> elements) |
UnionType(List<ReferenceType> elements) |
| Modifier and Type | Method and Description |
|---|---|
R |
GenericVisitor.visit(ReferenceType n,
A arg) |
void |
VoidVisitor.visit(ReferenceType n,
A arg) |
void |
VoidVisitorAdapter.visit(ReferenceType n,
A arg) |
Node |
ModifierVisitorAdapter.visit(ReferenceType n,
A arg) |
R |
GenericVisitorAdapter.visit(ReferenceType n,
A arg) |
Boolean |
EqualsVisitor.visit(ReferenceType n1,
Node arg) |
void |
DumpVisitor.visit(ReferenceType n,
Object arg) |
Node |
CloneVisitor.visit(ReferenceType _n,
Object _arg) |
Copyright © 2007–2016. All rights reserved.