public class CodeTypeParameterElement extends CodeElement<Element> implements TypeParameterElement
| Constructor and Description |
|---|
CodeTypeParameterElement(Name name,
TypeMirror... bounds) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ElementVisitor<R,P> v,
P p) |
TypeMirror |
asType() |
TypeMirror |
createMirror(TypeMirror upperBound,
TypeMirror lowerBound) |
List<TypeMirror> |
getBounds() |
Element |
getGenericElement() |
ElementKind |
getKind() |
Name |
getSimpleName() |
add, addAll, addAnnotationMirror, addOptional, createDocBuilder, equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getDocTree, getEnclosedElements, getEnclosingClass, getEnclosingElement, getGeneratorAnnotationMirror, getGeneratorElement, getModifiers, hashCode, setDocTree, setEnclosingElement, setGeneratorAnnotationMirror, setGeneratorElement, toStringgetEnclosingElementequals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getEnclosedElements, getModifiers, hashCodepublic CodeTypeParameterElement(Name name, TypeMirror... bounds)
public TypeMirror asType()
asType in interface ElementasType in interface TypeParameterElementpublic TypeMirror createMirror(TypeMirror upperBound, TypeMirror lowerBound)
public ElementKind getKind()
public Name getSimpleName()
getSimpleName in interface Elementpublic <R,P> R accept(ElementVisitor<R,P> v, P p)
public Element getGenericElement()
getGenericElement in interface TypeParameterElementpublic List<TypeMirror> getBounds()
getBounds in interface TypeParameterElement