| Package | Description |
|---|---|
| org.walkmod.javalang.ast.body |
AST nodes for types' members (e.g methods, fields, other types..).
|
| org.walkmod.javalang.ast.stmt |
AST nodes for statements (e.g methods' body)
|
| org.walkmod.javalang.visitors |
Generic and simple visitors to process source files.
|
| Modifier and Type | Method and Description |
|---|---|
BlockStmt |
ConstructorDeclaration.getBlock() |
BlockStmt |
InitializerDeclaration.getBlock() |
BlockStmt |
MethodDeclaration.getBody() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConstructorDeclaration.setBlock(BlockStmt block) |
void |
InitializerDeclaration.setBlock(BlockStmt block) |
void |
MethodDeclaration.setBody(BlockStmt body) |
| Constructor and Description |
|---|
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) |
InitializerDeclaration(boolean isStatic,
BlockStmt block) |
InitializerDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
boolean isStatic,
BlockStmt block) |
InitializerDeclaration(JavadocComment javaDoc,
boolean isStatic,
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) |
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 |
|---|---|
BlockStmt |
SynchronizedStmt.getBlock() |
BlockStmt |
CatchClause.getCatchBlock() |
BlockStmt |
TryStmt.getFinallyBlock() |
BlockStmt |
TryStmt.getTryBlock() |
| Modifier and Type | Method and Description |
|---|---|
void |
SynchronizedStmt.setBlock(BlockStmt block) |
void |
CatchClause.setCatchBlock(BlockStmt catchBlock) |
void |
TryStmt.setFinallyBlock(BlockStmt finallyBlock) |
void |
TryStmt.setTryBlock(BlockStmt tryBlock) |
| 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) |
CatchClause(MultiTypeParameter except,
BlockStmt catchBlock) |
SynchronizedStmt(Expression expr,
BlockStmt block) |
SynchronizedStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression expr,
BlockStmt block) |
TryStmt(BlockStmt tryBlock,
List<CatchClause> catchs,
BlockStmt finallyBlock) |
TryStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<VariableDeclarationExpr> resources,
BlockStmt tryBlock,
List<CatchClause> catchs,
BlockStmt finallyBlock) |
| Modifier and Type | Method and Description |
|---|---|
R |
GenericVisitorAdapter.visit(BlockStmt n,
A arg) |
void |
VoidVisitorAdapter.visit(BlockStmt n,
A arg) |
void |
VoidVisitor.visit(BlockStmt n,
A arg) |
Node |
ModifierVisitorAdapter.visit(BlockStmt n,
A arg) |
R |
GenericVisitor.visit(BlockStmt n,
A arg) |
Boolean |
EqualsVisitor.visit(BlockStmt n1,
Node arg) |
Node |
CloneVisitor.visit(BlockStmt _n,
Object _arg) |
void |
DumpVisitor.visit(BlockStmt n,
Object arg) |
void |
CompositeVisitor.visit(BlockStmt n,
VisitorContext arg) |
Copyright © 2015. All rights reserved.