public class GenTypeParameter extends GenElement implements TypeParameterElement
| Modifier and Type | Field and Description |
|---|---|
static ElementKind |
kind |
| Constructor and Description |
|---|
GenTypeParameter() |
GenTypeParameter(Name simpleName) |
GenTypeParameter(String simpleName) |
GenTypeParameter(TypeParameterElement original,
Element genericEl)
Copy-Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBound(TypeMirror aBound_) |
TypeMirror |
asType() |
List<? extends TypeMirror> |
getBounds() |
Element |
getEnclosingElement() |
Element |
getGenericElement() |
ElementKind |
getKind() |
void |
removeBound(TypeMirror aBound_) |
void |
setBounds(List<? extends TypeMirror> bounds) |
void |
setEnclosingElement(Element e) |
void |
setGenericElement(Element genericElement) |
accept, add, addAnnotationMirror, addEnclosedElement, addModifier, enclosedElementComparator, enclosingParameterizable, getAnnotationMirrors, getComment, getEnclosedElements, getModifiers, getSimpleName, removeAnnotationMirror, removeEnclosedElement, removeModifier, resolveContainedTypeVariables, setAnnotationMirrors, setComment, setEnclosedElements, setModifiers, setSimpleName, setSimpleName, setVisibilitygetAnnotation, getAnnotationsByTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, equals, getAnnotation, getAnnotationMirrors, getEnclosedElements, getModifiers, getSimpleName, hashCodegetAnnotationsByTypepublic static final ElementKind kind
public GenTypeParameter(TypeParameterElement original, Element genericEl)
public GenTypeParameter()
public GenTypeParameter(Name simpleName)
public GenTypeParameter(String simpleName)
public Element getEnclosingElement()
getEnclosingElement in interface ElementgetEnclosingElement in interface TypeParameterElementgetEnclosingElement in class GenElementpublic void setEnclosingElement(Element e)
setEnclosingElement in class GenElementpublic TypeMirror asType()
asType in interface ElementasType in class GenElementpublic Element getGenericElement()
getGenericElement in interface TypeParameterElementpublic void setGenericElement(Element genericElement)
public List<? extends TypeMirror> getBounds()
getBounds in interface TypeParameterElementpublic void addBound(TypeMirror aBound_)
public void removeBound(TypeMirror aBound_)
public void setBounds(List<? extends TypeMirror> bounds)
public ElementKind getKind()
getKind in interface ElementgetKind in class GenElementCopyright © 2018. All rights reserved.