public final class InitializerDeclaration extends BodyDeclaration implements org.walkmod.merger.Mergeable<InitializerDeclaration>
| 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.
|
InitializerDeclaration |
clone() |
BlockStmt |
getBlock() |
List<Node> |
getChildren() |
Comparator<?> |
getIdentityComparator() |
boolean |
isStatic() |
void |
merge(InitializerDeclaration remote,
org.walkmod.merger.MergeEngine configuration) |
boolean |
removeChild(Node child) |
boolean |
replaceChildNode(Node oldChild,
Node newChild) |
void |
setBlock(BlockStmt block) |
void |
setStatic(boolean isStatic) |
getAnnotations, getJavaDoc, getMethodDefinitions, getTypeDefinitions, getVariableDefinitions, merge, setAnnotations, setJavaDoccheck, clone, clone, contains, diableConstraints, enableConstraints, equals, getBeginColumn, getBeginLine, getCommonAncestor, getConstraints, getData, getEndColumn, getEndLine, getParentNode, getPrettySource, getPrettySource, hashCode, isAncestorOf, isInEqualLocation, isNewNode, isPreviousThan, remove, replaceChildNodeInList, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setConstraints, setData, setEndColumn, setEndLine, toString, updateReferencespublic 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 boolean removeChild(Node child)
removeChild in class BodyDeclarationpublic List<Node> getChildren()
getChildren in class BodyDeclarationpublic <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 Comparator<?> getIdentityComparator()
getIdentityComparator in interface org.walkmod.merger.IdentificableNodepublic void merge(InitializerDeclaration remote, org.walkmod.merger.MergeEngine configuration)
merge in interface org.walkmod.merger.Mergeable<InitializerDeclaration>public boolean replaceChildNode(Node oldChild, Node newChild)
replaceChildNode in class BodyDeclarationpublic InitializerDeclaration clone() throws CloneNotSupportedException
clone in class NodeCloneNotSupportedExceptionCopyright © 2018. All rights reserved.