Package | Description |
---|---|
japa.parser | |
japa.parser.ast.body | |
japa.parser.ast.stmt | |
japa.parser.ast.visitor |
Modifier and Type | Method and Description |
---|---|
static Parameter |
ASTHelper.createParameter(Type type,
String name)
Creates a new
Parameter . |
Modifier and Type | Method and Description |
---|---|
static void |
ASTHelper.addParameter(MethodDeclaration method,
Parameter parameter)
Adds the given parameter to the method.
|
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
MethodDeclaration.getParameters() |
List<Parameter> |
ConstructorDeclaration.getParameters() |
Modifier and Type | Method and Description |
---|---|
void |
MethodDeclaration.setParameters(List<Parameter> parameters) |
void |
ConstructorDeclaration.setParameters(List<Parameter> parameters) |
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<NameExpr> throws_,
BlockStmt block) |
ConstructorDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
String name,
List<Parameter> parameters,
List<NameExpr> 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<NameExpr> throws_,
BlockStmt block) |
MethodDeclaration(int modifiers,
Type type,
String name,
List<Parameter> parameters) |
MethodDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
Type type,
String name,
List<Parameter> parameters,
int arrayCount,
List<NameExpr> throws_,
BlockStmt block) |
Modifier and Type | Method and Description |
---|---|
Parameter |
CatchClause.getExcept() |
Modifier and Type | Method and Description |
---|---|
void |
CatchClause.setExcept(Parameter except) |
Constructor and Description |
---|
CatchClause(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Parameter except,
BlockStmt catchBlock) |
CatchClause(Parameter except,
BlockStmt catchBlock) |
Modifier and Type | Method and Description |
---|---|
R |
GenericVisitor.visit(Parameter n,
A arg) |
Node |
ModifierVisitorAdapter.visit(Parameter n,
A arg) |
R |
GenericVisitorAdapter.visit(Parameter n,
A arg) |
void |
VoidVisitor.visit(Parameter n,
A arg) |
void |
VoidVisitorAdapter.visit(Parameter n,
A arg) |
Boolean |
EqualsVisitor.visit(Parameter n1,
Node arg) |
void |
DumpVisitor.visit(Parameter n,
Object arg) |
Copyright © 2007–2013. All rights reserved.