public class EnumLiteralDescr extends AnnotatedBaseDescr implements Comparable<EnumLiteralDescr>
Constructor and Description |
---|
EnumLiteralDescr() |
EnumLiteralDescr(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addConstructorArg(String arg) |
int |
compareTo(EnumLiteralDescr other) |
List<String> |
getConstructorArgs() |
int |
getIndex() |
String |
getName() |
void |
readExternal(ObjectInput in) |
void |
setConstructorArgs(List<String> constructorArgs) |
void |
setIndex(int index) |
void |
setName(String name) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
addAnnotation, addAnnotation, getAnnotation, getAnnotationNames, getAnnotations
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText
public EnumLiteralDescr()
public EnumLiteralDescr(String name)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AnnotatedBaseDescr
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AnnotatedBaseDescr
IOException
public String getName()
public void setName(String name)
public void addConstructorArg(String arg)
public int compareTo(EnumLiteralDescr other)
compareTo
in interface Comparable<EnumLiteralDescr>
public int getIndex()
public void setIndex(int index)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.