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)
Deprecated.
prefer using Range objects.
|
InitializerDeclaration(Range range,
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()
Gets the JavaDoc for this node.
|
boolean |
isStatic() |
void |
setBlock(BlockStmt block) |
void |
setStatic(boolean isStatic) |
getAnnotations, setAnnotationsaddOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEnd, getEndColumn, getEndLine, getOrphanComments, getParentNode, getRange, hasComment, hashCode, isPositionedAfter, isPositionedAfter, isPositionedBefore, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBeginColumn, setBeginLine, setComment, setData, setEnd, setEndColumn, setEndLine, setParentNode, setRange, toString, toStringWithoutCommentspublic InitializerDeclaration()
public InitializerDeclaration(boolean isStatic,
BlockStmt block)
@Deprecated 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)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic BlockStmt getBlock()
public boolean isStatic()
public void setBlock(BlockStmt block)
public void setStatic(boolean isStatic)
public JavadocComment getJavaDoc()
DocumentableNodegetJavaDoc in interface DocumentableNodeCopyright © 2007–2016. All rights reserved.