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, setTypeNameaddAnnotation, addAnnotation, addAnnotation, addQualifiedAnnotation, getAnnotation, getAnnotation, getAnnotationNames, getAnnotations, getTypedAnnotation, hasAnnotationaccept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, replaceVariable, setEndCharacter, setEndLocation, setLocation, setStartCharacter, setTextpublic TypeDeclarationDescr()
public TypeDeclarationDescr(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 String getSuperTypeName()
getSuperTypeName in class AbstractClassTypeDeclarationDescrpublic String getSuperTypeNamespace()
getSuperTypeNamespace in class AbstractClassTypeDeclarationDescrpublic List<QualifiedName> getSuperTypes()
getSuperTypes in class AbstractClassTypeDeclarationDescrpublic 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 AnnotatedBaseDescrCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.