public static class WrappedAnnotatedTypeMirror.WrappedAnnotatedIntersectionType extends WrappedAnnotatedTypeMirror implements ExtendedIntersectionType
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. |
List<? extends WrappedAnnotatedTypeMirror> |
getBounds()
Return the bounds comprising this intersection type.
|
IntersectionType |
getOriginalType()
Returns the original
TypeMirror representation of the type, if
possible. |
AnnotatedTypeMirror.AnnotatedIntersectionType |
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 IntersectionType 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.AnnotatedIntersectionType 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 List<? extends WrappedAnnotatedTypeMirror> getBounds()
ExtendedIntersectionType
getBounds
in interface ExtendedIntersectionType