public abstract class TypeDeclaration extends BodyDeclaration implements NamedNode, DocumentableNode
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE| Constructor and Description |
|---|
TypeDeclaration() |
TypeDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
int modifiers,
String name,
List<BodyDeclaration> members) |
TypeDeclaration(int modifiers,
String name) |
TypeDeclaration(List<AnnotationExpr> annotations,
int modifiers,
String name,
List<BodyDeclaration> members) |
| Modifier and Type | Method and Description |
|---|---|
List<BodyDeclaration> |
getMembers() |
int |
getModifiers()
Return the modifiers of this type declaration.
|
String |
getName() |
NameExpr |
getNameExpr() |
void |
setMembers(List<BodyDeclaration> members) |
void |
setModifiers(int modifiers) |
void |
setName(String name) |
void |
setNameExpr(NameExpr nameExpr) |
getAnnotations, setAnnotationsaccept, accept, addOrphanComment, clone, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toString, toStringWithoutCommentsfinalize, getClass, notify, notifyAll, wait, wait, waitgetJavaDoc, setJavaDocpublic TypeDeclaration()
public TypeDeclaration(int modifiers,
String name)
public TypeDeclaration(List<AnnotationExpr> annotations, int modifiers, String name, List<BodyDeclaration> members)
public TypeDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
int modifiers,
String name,
List<BodyDeclaration> members)
public final List<BodyDeclaration> getMembers()
public final int getModifiers()
ModifierSetpublic void setMembers(List<BodyDeclaration> members)
public final void setModifiers(int modifiers)
public final void setName(String name)
public final void setNameExpr(NameExpr nameExpr)
public final NameExpr getNameExpr()
Copyright © 2007–2016. All rights reserved.