public final class ConstructorDeclaration extends BodyDeclaration implements org.walkmod.merger.Mergeable<ConstructorDeclaration>
| Constructor and Description |
|---|
ConstructorDeclaration() |
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(int modifiers,
String name) |
ConstructorDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
String name,
List<Parameter> parameters,
List<ClassOrInterfaceType> throws_,
BlockStmt block) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
BlockStmt |
getBlock() |
Comparator<?> |
getIdentityComparator() |
int |
getModifiers()
Return the modifiers of this member declaration.
|
String |
getName() |
List<Parameter> |
getParameters() |
List<ClassOrInterfaceType> |
getThrows() |
List<TypeParameter> |
getTypeParameters() |
void |
merge(ConstructorDeclaration remote,
org.walkmod.merger.MergeEngine configuration) |
void |
setBlock(BlockStmt block) |
void |
setModifiers(int modifiers) |
void |
setName(String name) |
void |
setParameters(List<Parameter> parameters) |
void |
setThrows(List<ClassOrInterfaceType> throws_) |
void |
setTypeParameters(List<TypeParameter> typeParameters) |
getAnnotations, getJavaDoc, merge, setAnnotations, setJavaDoccontains, equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, isInEqualLocation, isNewNode, isPreviousThan, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toStringpublic ConstructorDeclaration()
public ConstructorDeclaration(int modifiers,
String name)
public ConstructorDeclaration(JavadocComment javaDoc, int modifiers, List<AnnotationExpr> annotations, List<TypeParameter> typeParameters, String name, List<Parameter> parameters, List<ClassOrInterfaceType> throws_, BlockStmt block)
public 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)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic BlockStmt getBlock()
public int getModifiers()
ModifierSetpublic String getName()
public List<ClassOrInterfaceType> getThrows()
public List<TypeParameter> getTypeParameters()
public void setBlock(BlockStmt block)
public void setModifiers(int modifiers)
public void setName(String name)
public void setThrows(List<ClassOrInterfaceType> throws_)
public void setTypeParameters(List<TypeParameter> typeParameters)
public Comparator<?> getIdentityComparator()
getIdentityComparator in interface org.walkmod.merger.IdentificableNodepublic void merge(ConstructorDeclaration remote, org.walkmod.merger.MergeEngine configuration)
merge in interface org.walkmod.merger.Mergeable<ConstructorDeclaration>Copyright © 2015. All rights reserved.