public final class InitializerDeclaration extends BodyDeclaration implements DocumentableNode
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
InitializerDeclaration() |
InitializerDeclaration(boolean isStatic,
BlockStmt block) |
InitializerDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
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() |
JavadocComment |
getJavaDoc() |
boolean |
isStatic() |
void |
setBlock(BlockStmt block) |
void |
setJavaDoc(JavadocComment javadocComment) |
void |
setStatic(boolean isStatic) |
getAnnotations, setAnnotations
addOrphanComment, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toString, toStringWithoutComments
public InitializerDeclaration()
public InitializerDeclaration(boolean isStatic, BlockStmt block)
public InitializerDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, boolean isStatic, BlockStmt block)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public void setJavaDoc(JavadocComment javadocComment)
setJavaDoc
in interface DocumentableNode
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)
public JavadocComment getJavaDoc()
getJavaDoc
in interface DocumentableNode
Copyright © 2007-2015. All Rights Reserved.