public class TypeDeclarationDescr extends AbstractClassTypeDeclarationDescr implements Comparable<TypeDeclarationDescr>
Annotated.ClassAdapter
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() |
boolean |
isTrait() |
void |
readExternal(ObjectInput in) |
void |
setTrait(boolean trait) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
addField, equals, getFields, getFullTypeName, getSupertTypeFullName, 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 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>
public boolean isTrait()
public void setTrait(boolean trait)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.