public final class InitializerDeclaration extends BodyDeclaration<InitializerDeclaration> implements NodeWithJavaDoc<InitializerDeclaration>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE| Constructor and Description |
|---|
InitializerDeclaration() |
InitializerDeclaration(boolean isStatic,
BlockStmt block) |
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() |
InitializerDeclaration |
setBlock(BlockStmt block) |
InitializerDeclaration |
setStatic(boolean isStatic) |
getAnnotations, setAnnotationsaddOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnitfinalize, getClass, notify, notifyAll, wait, wait, waitsetJavaDocCommentaddAnnotation, addAnnotation, addMarkerAnnotation, addMarkerAnnotation, addSingleMemberAnnotation, addSingleMemberAnnotation, getAnnotationByClass, getAnnotationByName, isAnnotationPresent, isAnnotationPresentpublic InitializerDeclaration()
public InitializerDeclaration(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 InitializerDeclaration setBlock(BlockStmt block)
public InitializerDeclaration setStatic(boolean isStatic)
public JavadocComment getJavaDoc()
NodeWithJavaDocgetJavaDoc in interface NodeWithJavaDoc<InitializerDeclaration>Copyright © 2007–2016. All rights reserved.