public abstract class BodyDeclaration extends Node
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() |
JavadocComment |
getJavaDoc() |
void |
setAnnotations(List<AnnotationExpr> annotations) |
void |
setJavaDoc(JavadocComment javaDoc) |
accept, accept, equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public BodyDeclaration()
public BodyDeclaration(List<AnnotationExpr> annotations, JavadocComment javaDoc)
public BodyDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, List<AnnotationExpr> annotations, JavadocComment javaDoc)
public final JavadocComment getJavaDoc()
public final List<AnnotationExpr> getAnnotations()
public final void setJavaDoc(JavadocComment javaDoc)
public final void setAnnotations(List<AnnotationExpr> annotations)