| Package | Description |
|---|---|
| org.walkmod.javalang.ast |
AST root nodes of Java source files.
|
| org.walkmod.javalang.ast.body |
AST nodes for types' members (e.g methods, fields, other types..).
|
| org.walkmod.javalang.ast.expr |
AST nodes for expressions (e.g values applied as arguments in method calls)
|
| org.walkmod.javalang.ast.type |
AST nodes for types (e.g methods' type)
|
| org.walkmod.javalang.comparators |
Identity comparators for AST nodes.
|
| org.walkmod.javalang.visitors |
Generic and simple visitors to process source files.
|
| 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) |
TypeParameter(String name,
List<ClassOrInterfaceType> typeBound,
List<AnnotationExpr> annotations) |
| Modifier and Type | Method and Description |
|---|---|
List<ClassOrInterfaceType> |
ClassOrInterfaceDeclaration.getExtends() |
List<ClassOrInterfaceType> |
ClassOrInterfaceDeclaration.getImplements() |
List<ClassOrInterfaceType> |
EnumDeclaration.getImplements() |
List<ClassOrInterfaceType> |
MethodDeclaration.getThrows() |
List<ClassOrInterfaceType> |
ConstructorDeclaration.getThrows() |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassOrInterfaceDeclaration.setExtends(List<ClassOrInterfaceType> extendsList) |
void |
ClassOrInterfaceDeclaration.setImplements(List<ClassOrInterfaceType> implementsList) |
void |
EnumDeclaration.setImplements(List<ClassOrInterfaceType> implementsList) |
void |
MethodDeclaration.setThrows(List<ClassOrInterfaceType> throws_) |
void |
ConstructorDeclaration.setThrows(List<ClassOrInterfaceType> throws_) |
| Constructor and Description |
|---|
ClassOrInterfaceDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
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,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
ClassOrInterfaceDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
ClassOrInterfaceDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
ConstructorDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
String name,
List<Parameter> parameters,
List<ClassOrInterfaceType> throws_,
BlockStmt block) |
ConstructorDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
String name,
List<Parameter> parameters,
List<ClassOrInterfaceType> throws_,
BlockStmt block) |
EnumDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<ClassOrInterfaceType> implementsList,
List<EnumConstantDeclaration> entries,
List<BodyDeclaration> members) |
EnumDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<ClassOrInterfaceType> implementsList,
List<EnumConstantDeclaration> entries,
List<BodyDeclaration> members) |
MethodDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
Type type,
String name,
List<Parameter> parameters,
int arrayCount,
List<ClassOrInterfaceType> throws_,
BlockStmt block) |
MethodDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
Type type,
String name,
List<Parameter> parameters,
int arrayCount,
List<ClassOrInterfaceType> throws_,
BlockStmt block,
boolean isDefault) |
MethodDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
Type type,
String name,
List<Parameter> parameters,
int arrayCount,
List<ClassOrInterfaceType> throws_,
BlockStmt block) |
MethodDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
Type type,
String name,
List<Parameter> parameters,
int arrayCount,
List<ClassOrInterfaceType> throws_,
BlockStmt block,
boolean isDefault) |
| 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) |
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() |
| 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) |
ClassOrInterfaceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
ClassOrInterfaceType scope,
String name,
List<Type> typeArgs,
List<AnnotationExpr> annotations) |
| Modifier and Type | Method and Description |
|---|---|
int |
ClassOrInterfaceTypeComparator.compare(ClassOrInterfaceType o1,
ClassOrInterfaceType o2) |
| Modifier and Type | Method and Description |
|---|---|
R |
GenericVisitorAdapter.visit(ClassOrInterfaceType n,
A arg) |
void |
VoidVisitorAdapter.visit(ClassOrInterfaceType n,
A arg) |
void |
VoidVisitor.visit(ClassOrInterfaceType n,
A arg) |
Node |
ModifierVisitorAdapter.visit(ClassOrInterfaceType n,
A arg) |
R |
GenericVisitor.visit(ClassOrInterfaceType n,
A arg) |
Boolean |
EqualsVisitor.visit(ClassOrInterfaceType n1,
Node arg) |
Node |
CloneVisitor.visit(ClassOrInterfaceType _n,
Object _arg) |
void |
DumpVisitor.visit(ClassOrInterfaceType n,
Object arg) |
void |
CompositeVisitor.visit(ClassOrInterfaceType n,
VisitorContext arg) |
Copyright © 2015. All rights reserved.