public final class ConstructorDeclaration extends BodyDeclaration
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<AnnotationExpr> receiverAnnotations,
List<NameExpr> 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<NameExpr> 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() |
int |
getModifiers()
Return the modifiers of this member declaration.
|
String |
getName() |
List<Parameter> |
getParameters() |
List<AnnotationExpr> |
getReceiverAnnotations() |
List<NameExpr> |
getThrows() |
List<TypeParameter> |
getTypeParameters() |
void |
setBlock(BlockStmt block) |
void |
setModifiers(int modifiers) |
void |
setName(String name) |
void |
setParameters(List<Parameter> parameters) |
void |
setReceiverAnnotations(List<AnnotationExpr> receiverAnnotations) |
void |
setThrows(List<NameExpr> throws_) |
void |
setTypeParameters(List<TypeParameter> typeParameters) |
getAnnotations, getJavaDoc, setAnnotations, setJavaDoc
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public 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<NameExpr> 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<AnnotationExpr> receiverAnnotations, List<NameExpr> throws_, BlockStmt block)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public BlockStmt getBlock()
public int getModifiers()
ModifierSet
public String getName()
public List<AnnotationExpr> getReceiverAnnotations()
public List<TypeParameter> getTypeParameters()
public void setBlock(BlockStmt block)
public void setModifiers(int modifiers)
public void setName(String name)
public void setReceiverAnnotations(List<AnnotationExpr> receiverAnnotations)
public void setTypeParameters(List<TypeParameter> typeParameters)