| 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.stmt |
AST nodes for statements (e.g methods' body)
|
| org.walkmod.javalang.ast.type |
AST nodes for types (e.g methods' type)
|
| org.walkmod.javalang.comparators |
Identity comparators for AST nodes.
|
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationExpr> |
PackageDeclaration.getAnnotations()
Retrieves the list of annotations declared before the package
declaration.
|
List<AnnotationExpr> |
TypeParameter.getAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
void |
PackageDeclaration.setAnnotations(List<AnnotationExpr> annotations) |
void |
TypeParameter.setAnnotations(List<AnnotationExpr> annotations) |
| Constructor and Description |
|---|
PackageDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
NameExpr name) |
PackageDeclaration(List<AnnotationExpr> annotations,
NameExpr name) |
TypeParameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
String name,
List<ClassOrInterfaceType> typeBound,
List<AnnotationExpr> annotations) |
TypeParameter(String name,
List<ClassOrInterfaceType> typeBound,
List<AnnotationExpr> annotations) |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationExpr> |
BodyDeclaration.getAnnotations() |
List<AnnotationExpr> |
BaseParameter.getAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
void |
BodyDeclaration.setAnnotations(List<AnnotationExpr> annotations) |
void |
BaseParameter.setAnnotations(List<AnnotationExpr> annotations) |
| Constructor and Description |
|---|
AnnotationDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<BodyDeclaration> members) |
AnnotationDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<BodyDeclaration> members) |
AnnotationMemberDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
String name,
Expression defaultValue) |
AnnotationMemberDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
String name,
Expression defaultValue) |
BaseParameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
VariableDeclaratorId id) |
BaseParameter(int modifiers,
List<AnnotationExpr> annotations,
VariableDeclaratorId id) |
BodyDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
JavadocComment javaDoc) |
BodyDeclaration(List<AnnotationExpr> annotations,
JavadocComment javaDoc) |
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) |
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) |
EnumConstantDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
List<AnnotationExpr> annotations,
String name,
List<Expression> args,
List<BodyDeclaration> classBody) |
EnumConstantDeclaration(JavadocComment javaDoc,
List<AnnotationExpr> annotations,
String name,
List<Expression> args,
List<BodyDeclaration> classBody) |
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) |
FieldDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
List<VariableDeclarator> variables) |
FieldDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
List<VariableDeclarator> variables) |
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) |
MultiTypeParameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
List<Type> types,
VariableDeclaratorId id) |
MultiTypeParameter(int modifiers,
List<AnnotationExpr> annotations,
List<Type> types,
VariableDeclaratorId id) |
Parameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
boolean isVarArgs,
VariableDeclaratorId id) |
TypeDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
JavadocComment javaDoc,
int modifiers,
String name,
List<BodyDeclaration> members) |
TypeDeclaration(List<AnnotationExpr> annotations,
JavadocComment javaDoc,
int modifiers,
String name,
List<BodyDeclaration> members) |
| Modifier and Type | Class and Description |
|---|---|
class |
MarkerAnnotationExpr |
class |
NormalAnnotationExpr |
class |
SingleMemberAnnotationExpr |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationExpr> |
VariableDeclarationExpr.getAnnotations() |
List<List<AnnotationExpr>> |
ArrayCreationExpr.getArraysAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
void |
NormalAnnotationExpr.merge(AnnotationExpr t1,
org.walkmod.merger.MergeEngine configuration) |
void |
SingleMemberAnnotationExpr.merge(AnnotationExpr t1,
org.walkmod.merger.MergeEngine configuration) |
void |
MarkerAnnotationExpr.merge(AnnotationExpr t1,
org.walkmod.merger.MergeEngine configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
VariableDeclarationExpr.setAnnotations(List<AnnotationExpr> annotations) |
void |
ArrayCreationExpr.setArraysAnnotations(List<List<AnnotationExpr>> arraysAnnotations) |
| Constructor and Description |
|---|
ArrayCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
List<Expression> dimensions,
int arrayCount,
List<List<AnnotationExpr>> arraysAnnotations) |
ArrayCreationExpr(Type type,
int arrayCount,
ArrayInitializerExpr initializer,
List<List<AnnotationExpr>> arraysAnnotations) |
ArrayCreationExpr(Type type,
List<Expression> dimensions,
int arrayCount,
List<List<AnnotationExpr>> arraysAnnotations) |
VariableDeclarationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
List<VariableDeclarator> vars) |
| Constructor and Description |
|---|
CatchClause(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
CatchClause(int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationExpr> |
Type.getAnnotations() |
List<List<AnnotationExpr>> |
ReferenceType.getArraysAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
void |
Type.setAnnotations(List<AnnotationExpr> annotations) |
void |
ReferenceType.setArraysAnnotations(List<List<AnnotationExpr>> arraysAnnotations) |
| Constructor and Description |
|---|
ClassOrInterfaceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
ClassOrInterfaceType scope,
String name,
List<Type> typeArgs,
List<AnnotationExpr> annotations) |
PrimitiveType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
PrimitiveType.Primitive type,
List<AnnotationExpr> annotations) |
ReferenceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
int arrayCount,
List<AnnotationExpr> annotations,
List<List<AnnotationExpr>> arraysAnnotations) |
ReferenceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
int arrayCount,
List<AnnotationExpr> annotations,
List<List<AnnotationExpr>> arraysAnnotations) |
ReferenceType(Type type,
int arrayCount,
List<AnnotationExpr> annotations) |
Type(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations) |
Type(List<AnnotationExpr> annotation) |
VoidType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations) |
WildcardType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
ReferenceType ext,
ReferenceType sup,
List<AnnotationExpr> annotations) |
| Modifier and Type | Method and Description |
|---|---|
int |
AnnotationExprComparator.compare(AnnotationExpr an1,
AnnotationExpr an2) |
Copyright © 2015. All rights reserved.