public static class WrappedAnnotatedTypeMirror.WrappedAnnotatedArrayType extends WrappedAnnotatedTypeMirror implements ExtendedArrayType
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. |
WrappedAnnotatedTypeMirror |
getComponentType()
Returns the component type of this array type.
|
ArrayType |
getOriginalType()
Returns the original
TypeMirror representation of the type, if
possible. |
AnnotatedTypeMirror.AnnotatedArrayType |
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 ArrayType 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.AnnotatedArrayType 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 getComponentType()
ExtendedArrayType
getComponentType
in interface ExtendedArrayType