public static class WrappedAnnotatedTypeMirror.WrappedAnnotatedDeclaredType extends WrappedAnnotatedTypeMirror implements ExtendedDeclaredType, ExtendedTypeDeclaration
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.
|
WrappedAnnotatedTypeMirror |
getEnclosingType()
Returns the type of the innermost enclosing instance, or a
ExtendedNoType of kind NONE if there is no enclosing
instance. |
DeclaredType |
getOriginalType()
Returns the original
TypeMirror representation of the type, if
possible. |
List<? extends WrappedAnnotatedTypeMirror> |
getTypeArguments()
Returns the actual type arguments of this type.
|
List<? extends WrappedAnnotatedTypeMirror.WrappedAnnotatedTypeVariable> |
getTypeParameters()
Returns the type parameters declared by this type.
|
AnnotatedTypeMirror.AnnotatedDeclaredType |
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 DeclaredType 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.AnnotatedDeclaredType 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 Element asElement()
ExtendedDeclaredTypeasElement in interface ExtendedDeclaredTypeasElement in interface ExtendedTypeDeclarationpublic WrappedAnnotatedTypeMirror getEnclosingType()
ExtendedDeclaredTypeExtendedNoType of kind NONE if there is no enclosing
instance. Only types corresponding to inner classes have an enclosing
instance.getEnclosingType in interface ExtendedDeclaredTypegetEnclosingType in interface ExtendedTypeDeclarationpublic List<? extends WrappedAnnotatedTypeMirror> getTypeArguments()
ExtendedDeclaredTypeOuter<String>.Inner<Number>), only the type
arguments of the innermost type are included.getTypeArguments in interface ExtendedDeclaredTypepublic List<? extends WrappedAnnotatedTypeMirror.WrappedAnnotatedTypeVariable> getTypeParameters()
ExtendedTypeDeclarationOuter<String>.Inner<Number>), only the type
parameters of the innermost type are included.getTypeParameters in interface ExtendedTypeDeclaration