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 |
indexByFQN(boolean isStrict) |
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
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, replaceVariable, 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)
public void indexByFQN(boolean isStrict)
indexByFQN
in class AnnotatedBaseDescr
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.