public static class WrappedAnnotatedTypeMirror.WrappedAnnotatedTypeVariable extends WrappedAnnotatedTypeMirror implements ExtendedTypeVariable, ExtendedParameterDeclaration
WrappedAnnotatedTypeMirror.WrappedAnnotatedArrayType, WrappedAnnotatedTypeMirror.WrappedAnnotatedDeclaredType, WrappedAnnotatedTypeMirror.WrappedAnnotatedExecutableType, WrappedAnnotatedTypeMirror.WrappedAnnotatedIntersectionType, WrappedAnnotatedTypeMirror.WrappedAnnotatedNoType, WrappedAnnotatedTypeMirror.WrappedAnnotatedNullType, WrappedAnnotatedTypeMirror.WrappedAnnotatedPrimitiveType, WrappedAnnotatedTypeMirror.WrappedAnnotatedTypeVariable, WrappedAnnotatedTypeMirror.WrappedAnnotatedUnionType, WrappedAnnotatedTypeMirror.WrappedAnnotatedWildcardType
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(ExtendedTypeVisitor<R,P> v,
P p)
Applies an
ExtendedTypeVisitor to this object. |
Element |
asElement()
Returns the element corresponding to this type variable.
|
ExtendedParameterDeclaration |
getDeclaration()
Get the
ExtendedParameterDeclaration for the declaration of
this type variable. |
TypeVariable |
getOriginalType()
Returns the original
TypeMirror representation of the type, if
possible. |
AnnotatedTypeMirror.AnnotatedTypeVariable |
unwrap()
Unwrap a
WrappedAnnotatedTypeMirror to obtain the original
AnnotatedTypeMirror . |
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getKind, hashCode, isDeclaration, toString, wrap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getKind, isDeclaration
getAnnotation, getAnnotationMirrors, getAnnotationsByType
public TypeVariable getOriginalType()
ExtendedTypeMirror
TypeMirror
representation of the type, if
possible. This method may return null if no TypeMirror
representation is available.getOriginalType
in interface ExtendedTypeMirror
getOriginalType
in class WrappedAnnotatedTypeMirror
public AnnotatedTypeMirror.AnnotatedTypeVariable unwrap()
WrappedAnnotatedTypeMirror
WrappedAnnotatedTypeMirror
to obtain the original
AnnotatedTypeMirror
.unwrap
in class WrappedAnnotatedTypeMirror
public <R,P> R accept(ExtendedTypeVisitor<R,P> v, P p)
ExtendedTypeMirror
ExtendedTypeVisitor
to this object.accept
in interface ExtendedTypeMirror
public Element asElement()
ExtendedTypeVariable
asElement
in interface ExtendedParameterDeclaration
asElement
in interface ExtendedTypeVariable
public ExtendedParameterDeclaration getDeclaration()
ExtendedTypeVariable
ExtendedParameterDeclaration
for the declaration of
this type variable.getDeclaration
in interface ExtendedTypeVariable