public static class WrappedAnnotatedTypeMirror.WrappedAnnotatedWildcardType extends WrappedAnnotatedTypeMirror implements ExtendedWildcardType
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. |
boolean |
equals(Object obj) |
WrappedAnnotatedTypeMirror |
getExtendsBound()
Returns the upper bound of this wildcard.
|
WildcardType |
getOriginalType()
Returns the original
TypeMirror representation of the type, if
possible. |
WrappedAnnotatedTypeMirror |
getSuperBound()
Returns the lower bound of this wildcard.
|
AnnotatedTypeMirror.AnnotatedWildcardType |
unwrap()
Unwrap a
WrappedAnnotatedTypeMirror to obtain the original
AnnotatedTypeMirror . |
getAnnotation, getAnnotationMirrors, getAnnotationsByType, getKind, hashCode, isDeclaration, toString, wrap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getKind, isDeclaration
getAnnotation, getAnnotationMirrors, getAnnotationsByType
public WildcardType 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.AnnotatedWildcardType 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 WrappedAnnotatedTypeMirror getExtendsBound()
ExtendedWildcardType
WildcardType.getExtendsBound
, if no upper bound is
explicitly declared, a ExtendedTypeMirror
representing
java.lang.Object
is returned.getExtendsBound
in interface ExtendedWildcardType
public WrappedAnnotatedTypeMirror getSuperBound()
ExtendedWildcardType
WildcardType.getSuperBound
, if no lower
bound is explicitly declared, a ExtendedTypeMirror
representing
the type of null
is returned.getSuperBound
in interface ExtendedWildcardType
public boolean equals(Object obj)
equals
in class WrappedAnnotatedTypeMirror