public final class InitializerDeclaration extends BodyDeclaration
Constructor and Description |
---|
InitializerDeclaration() |
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) |
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() |
boolean |
isStatic() |
void |
setBlock(BlockStmt block) |
void |
setStatic(boolean isStatic) |
getAnnotations, getJavaDoc, setAnnotations, setJavaDoc
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public InitializerDeclaration()
public InitializerDeclaration(boolean isStatic, BlockStmt block)
public InitializerDeclaration(JavadocComment javaDoc, boolean isStatic, BlockStmt block)
public InitializerDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, JavadocComment javaDoc, boolean isStatic, 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 boolean isStatic()
public void setBlock(BlockStmt block)
public void setStatic(boolean isStatic)