public abstract class BodyDeclaration extends Node implements ScopeAware
| Constructor and Description |
|---|
BodyDeclaration() |
BodyDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
JavadocComment javaDoc) |
BodyDeclaration(List<AnnotationExpr> annotations,
JavadocComment javaDoc) |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationExpr> |
getAnnotations() |
List<Node> |
getChildren() |
JavadocComment |
getJavaDoc() |
Map<String,List<SymbolDefinition>> |
getMethodDefinitions()
Gets the available methods
|
Map<String,SymbolDefinition> |
getTypeDefinitions()
Gets the available variables
|
Map<String,SymbolDefinition> |
getVariableDefinitions()
Gets the available variables
|
void |
merge(BodyDeclaration remoteBodyDeclaration,
org.walkmod.merger.MergeEngine configuration) |
boolean |
removeChild(Node child) |
boolean |
replaceChildNode(Node oldChild,
Node newChild) |
void |
setAnnotations(List<AnnotationExpr> annotations) |
void |
setJavaDoc(JavadocComment javaDoc) |
accept, accept, check, clone, 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 BodyDeclaration()
public BodyDeclaration(List<AnnotationExpr> annotations, JavadocComment javaDoc)
public BodyDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
JavadocComment javaDoc)
public List<Node> getChildren()
getChildren in class Nodepublic boolean removeChild(Node child)
removeChild in class Nodepublic final JavadocComment getJavaDoc()
public final List<AnnotationExpr> getAnnotations()
public final void setJavaDoc(JavadocComment javaDoc)
public final void setAnnotations(List<AnnotationExpr> annotations)
public void merge(BodyDeclaration remoteBodyDeclaration, org.walkmod.merger.MergeEngine configuration)
public boolean replaceChildNode(Node oldChild, Node newChild)
replaceChildNode in class Nodepublic Map<String,SymbolDefinition> getVariableDefinitions()
ScopeAwaregetVariableDefinitions in interface ScopeAwarepublic Map<String,List<SymbolDefinition>> getMethodDefinitions()
ScopeAwaregetMethodDefinitions in interface ScopeAwarepublic Map<String,SymbolDefinition> getTypeDefinitions()
ScopeAwaregetTypeDefinitions in interface ScopeAwareCopyright © 2018. All rights reserved.