public static class WrappedAnnotatedTypeMirror.WrappedAnnotatedUnionType extends WrappedAnnotatedTypeMirror implements ExtendedUnionType
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> |
getAlternatives()
Return the alternatives comprising this union type.
|
UnionType |
getOriginalType()
Returns the original
TypeMirror representation of the type, if
possible. |
AnnotatedTypeMirror.AnnotatedUnionType |
unwrap()
Unwrap a
WrappedAnnotatedTypeMirror to obtain the original
AnnotatedTypeMirror. |
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getKind, hashCode, isDeclaration, toString, wrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetKind, isDeclarationgetAnnotation, getAnnotationMirrors, getAnnotationsByTypepublic UnionType getOriginalType()
ExtendedTypeMirrorTypeMirror representation of the type, if
possible. This method may return null if no TypeMirror
representation is available.getOriginalType in interface ExtendedTypeMirrorgetOriginalType in class WrappedAnnotatedTypeMirrorpublic AnnotatedTypeMirror.AnnotatedUnionType unwrap()
WrappedAnnotatedTypeMirrorWrappedAnnotatedTypeMirror to obtain the original
AnnotatedTypeMirror.unwrap in class WrappedAnnotatedTypeMirrorpublic <R,P> R accept(ExtendedTypeVisitor<R,P> v, P p)
ExtendedTypeMirrorExtendedTypeVisitor to this object.accept in interface ExtendedTypeMirrorpublic List<? extends WrappedAnnotatedTypeMirror> getAlternatives()
ExtendedUnionTypegetAlternatives in interface ExtendedUnionType