com.github.antlrjavaparser.api.body
Class TypeDeclaration
java.lang.Object
com.github.antlrjavaparser.api.Node
com.github.antlrjavaparser.api.body.BodyDeclaration
com.github.antlrjavaparser.api.body.TypeDeclaration
- Direct Known Subclasses:
- AnnotationDeclaration, ClassOrInterfaceDeclaration, EmptyTypeDeclaration, EnumDeclaration
public abstract class TypeDeclaration
- extends BodyDeclaration
- Author:
- Julio Vilmar Gesser
|
Constructor Summary |
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)
|
| Methods inherited from class com.github.antlrjavaparser.api.Node |
accept, accept, equals, getBeginColumn, getBeginComments, getBeginLine, getData, getEndColumn, getEndComments, getEndLine, getInternalComments, hashCode, setBeginColumn, setBeginComments, setBeginLine, setData, setEndColumn, setEndComments, setEndLine, setInternalComments, toString |
TypeDeclaration
public TypeDeclaration()
TypeDeclaration
public TypeDeclaration(int modifiers,
String name)
TypeDeclaration
public TypeDeclaration(List<AnnotationExpr> annotations,
JavadocComment javaDoc,
int modifiers,
String name,
List<BodyDeclaration> members)
TypeDeclaration
public TypeDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
JavadocComment javaDoc,
int modifiers,
String name,
List<BodyDeclaration> members)
getMembers
public final List<BodyDeclaration> getMembers()
getModifiers
public final int getModifiers()
- Return the modifiers of this type declaration.
- Returns:
- modifiers
- See Also:
ModifierSet
getName
public final String getName()
setMembers
public void setMembers(List<BodyDeclaration> members)
setModifiers
public final void setModifiers(int modifiers)
setName
public final void setName(String name)
Copyright © 2013. All Rights Reserved.