public class TypeDeclarationDescr extends AbstractClassTypeDeclarationDescr implements Comparable<TypeDeclarationDescr>
Constructor and Description |
---|
TypeDeclarationDescr() |
TypeDeclarationDescr(String typeName) |
TypeDeclarationDescr(String typeName,
String typeNamespace) |
Modifier and Type | Method and Description |
---|---|
void |
addSuperType(QualifiedName type) |
void |
addSuperType(String type) |
int |
compareTo(TypeDeclarationDescr descr) |
String |
getSuperTypeName() |
String |
getSuperTypeNamespace() |
List<QualifiedName> |
getSuperTypes() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
addField, equals, getFields, getSupertTypeFullName, getType, getTypeName, hashCode, setFields, setNamespace, setResource, setType, setType, setTypeName
addAnnotation, addAnnotation, getAnnotation, getAnnotationNames, getAnnotations
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, setEndCharacter, setEndLocation, setLocation, setStartCharacter, setText
public TypeDeclarationDescr()
public TypeDeclarationDescr(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 String getSuperTypeName()
getSuperTypeName
in class AbstractClassTypeDeclarationDescr
public String getSuperTypeNamespace()
getSuperTypeNamespace
in class AbstractClassTypeDeclarationDescr
public List<QualifiedName> getSuperTypes()
getSuperTypes
in class AbstractClassTypeDeclarationDescr
public void addSuperType(String type)
public void addSuperType(QualifiedName type)
public int compareTo(TypeDeclarationDescr descr)
compareTo
in interface Comparable<TypeDeclarationDescr>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.