public class EnumDeclarationDescr extends AbstractClassTypeDeclarationDescr
| 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, setTypeNameaddAnnotation, addAnnotation, addAnnotation, addQualifiedAnnotation, getAnnotation, getAnnotation, getAnnotationNames, getAnnotations, getTypedAnnotation, hasAnnotation, indexByFQNcopyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, replaceVariable, setEndCharacter, setEndLocation, setLocation, setStartCharacter, setTextpublic EnumDeclarationDescr()
public EnumDeclarationDescr(String typeName)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AbstractClassTypeDeclarationDescrIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class AbstractClassTypeDeclarationDescrIOExceptionpublic List<EnumLiteralDescr> getLiterals()
public void setLiterals(List<EnumLiteralDescr> literals)
literals - the fields to setpublic void addLiteral(EnumLiteralDescr lit)
public String getSuperTypeName()
getSuperTypeName in class AbstractClassTypeDeclarationDescrpublic String getSuperTypeNamespace()
getSuperTypeNamespace in class AbstractClassTypeDeclarationDescrpublic String getSupertTypeFullName()
getSupertTypeFullName in class AbstractClassTypeDeclarationDescrpublic List<QualifiedName> getSuperTypes()
getSuperTypes in class AbstractClassTypeDeclarationDescrCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.