public abstract class GenTypeElement extends GenParameterizable implements TypeElement
| Constructor and Description |
|---|
GenTypeElement() |
GenTypeElement(Name name) |
GenTypeElement(String name) |
GenTypeElement(String name,
Element enclosingElement) |
GenTypeElement(String name,
String packageName) |
addTypeParameter, getDeclaredType, getOrCreateTypeParameter, getTypeParameters, removeTypeParameter, resolveTypeVariables, setTypeParametersaccept, add, addAnnotationMirror, addModifier, enclosingParameterizable, getAnnotationMirrors, getComment, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, removeAnnotationMirror, removeEnclosedElement, removeModifier, resolveContainedTypeVariables, setAnnotationMirrors, setComment, setEnclosedElements, setModifiers, setSimpleName, setSimpleName, setVisibilitygetAnnotation, getAnnotationsByTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEnclosedElements, getEnclosingElement, getSimpleName, getTypeParametersaccept, equals, getAnnotation, getAnnotationMirrors, getKind, getModifiers, hashCodegetAnnotationsByTypepublic GenTypeElement(String name)
public GenTypeElement(Name name)
public GenTypeElement()
public Name getQualifiedName()
getQualifiedName in interface QualifiedNameablegetQualifiedName in interface TypeElementpublic void setEnclosingElement(Element e)
setEnclosingElement in class GenElementpublic void setSuperclass(DeclaredType type, TypeMirror... typeArgs)
public void setSuperclass(DeclaredType type)
public void addInterface(DeclaredType type, TypeMirror... typeArgs)
public void addInterface(TypeMirror type)
public void copyTypeParametersFrom(GenTypeElement other)
TODO: Not all variables are needed in such cases ... TODO: also consider enclosing types?
public Map<TypeParameterElement,TypeMirror> getResolvedTypeArgsMap()
public DeclaredType resolveTypeArgs(DeclaredType prototype, TypeMirror[] typeArgs)
protected TypeMirror resolveTypeVariable(TypeVariable tv)
resolveTypeVariable in class GenParameterizablepublic void addEnclosedElement(Element enclosed)
addEnclosedElement in class GenElementpublic static int memberOrderOf(Element e)
public Comparator<Element> enclosedElementComparator()
enclosedElementComparator in class GenElementpublic List<ExecutableElement> allMethods()
public TypeMirror asType()
asType in interface ElementasType in class GenElementpublic NestingKind getNestingKind()
getNestingKind in interface TypeElementpublic void setNestingKind(NestingKind nestingKind)
public void setQualifiedName(Name qualifiedName)
public TypeMirror getSuperclass()
getSuperclass in interface TypeElementpublic void setSuperclass(TypeMirror superclass)
public List<? extends TypeMirror> getInterfaces()
getInterfaces in interface TypeElementpublic void removeInterface(TypeMirror aInterface_)
public void setInterfaces(List<? extends TypeMirror> interfaces)
@Pure public Set<GenTypeElement> getAuxTopLevelClasses()
public void setAuxTopLevelClasses(Set<GenTypeElement> auxTopLevelClasses)
@Pure public boolean isAuxClass()
public void setAuxClass(boolean auxClass)
Copyright © 2018. All rights reserved.