public class EnumDeclarationDescr extends AbstractClassTypeDeclarationDescr
Annotated.ClassAdapter
Constructor and Description |
---|
EnumDeclarationDescr() |
EnumDeclarationDescr(String typeName) |
EnumDeclarationDescr(String typeName,
String typeNamespace) |
Modifier and Type | Method and Description |
---|---|
void |
addLiteral(EnumLiteralDescr lit) |
List<EnumLiteralDescr> |
getLiterals() |
String |
getSupertTypeFullName() |
String |
getSuperTypeName() |
String |
getSuperTypeNamespace() |
List<QualifiedName> |
getSuperTypes() |
void |
readExternal(ObjectInput in) |
void |
setLiterals(List<EnumLiteralDescr> literals) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
addField, equals, getFields, getFullTypeName, getType, getTypeName, hashCode, setFields, setNamespace, setResource, setType, setType, setTypeName
addAnnotation, addAnnotation, addAnnotation, addQualifiedAnnotation, getAnnotation, getAnnotation, getAnnotationNames, getAnnotations, getTypedAnnotation, hasAnnotation, indexByFQN
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, setEndCharacter, setEndLocation, setLocation, setStartCharacter, setText
public EnumDeclarationDescr()
public EnumDeclarationDescr(String typeName)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractClassTypeDeclarationDescr
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractClassTypeDeclarationDescr
IOException
public List<EnumLiteralDescr> getLiterals()
public void setLiterals(List<EnumLiteralDescr> literals)
literals
- the fields to setpublic void addLiteral(EnumLiteralDescr lit)
public String getSuperTypeName()
getSuperTypeName
in class AbstractClassTypeDeclarationDescr
public String getSuperTypeNamespace()
getSuperTypeNamespace
in class AbstractClassTypeDeclarationDescr
public String getSupertTypeFullName()
getSupertTypeFullName
in class AbstractClassTypeDeclarationDescr
public List<QualifiedName> getSuperTypes()
getSuperTypes
in class AbstractClassTypeDeclarationDescr
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.