public abstract class TypeDeclaration extends BodyDeclaration
Constructor and Description |
---|
TypeDeclaration() |
TypeDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
JavadocComment javaDoc,
int modifiers,
String name,
List<BodyDeclaration> members) |
TypeDeclaration(int modifiers,
String name) |
TypeDeclaration(List<AnnotationExpr> annotations,
JavadocComment javaDoc,
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() |
void |
setMembers(List<BodyDeclaration> members) |
void |
setModifiers(int modifiers) |
void |
setName(String name) |
getAnnotations, getJavaDoc, setAnnotations, setJavaDoc
accept, accept, equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public TypeDeclaration()
public TypeDeclaration(int modifiers, String name)
public TypeDeclaration(List<AnnotationExpr> annotations, JavadocComment javaDoc, int modifiers, String name, List<BodyDeclaration> members)
public TypeDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, List<AnnotationExpr> annotations, JavadocComment javaDoc, int modifiers, String name, List<BodyDeclaration> members)
public final List<BodyDeclaration> getMembers()
public final int getModifiers()
ModifierSet
public final String getName()
public void setMembers(List<BodyDeclaration> members)
public final void setModifiers(int modifiers)
public final void setName(String name)