public static class AnnotatedTypeMirror.AnnotatedPrimitiveType extends @Mutable AnnotatedTypeMirror implements AnnotatedTypeMirror.AnnotatedReferenceType
boolean,
byte, short, int, long, char,
float, and double.AnnotatedTypeMirror.AnnotatedArrayType, AnnotatedTypeMirror.AnnotatedDeclaredType, AnnotatedTypeMirror.AnnotatedExecutableType, AnnotatedTypeMirror.AnnotatedNoType, AnnotatedTypeMirror.AnnotatedNullType, AnnotatedTypeMirror.AnnotatedPrimitiveType, AnnotatedTypeMirror.AnnotatedReferenceType, AnnotatedTypeMirror.AnnotatedTypeVariable, AnnotatedTypeMirror.AnnotatedWildcardTypeannotationFactory, annotations, element, enclosingType, env, typeFactory, uid| Modifier and Type | Method and Description |
|---|---|
<R extends @NonNull Object,P extends @NonNull Object> |
accept(AnnotatedTypeVisitor<R,P> v,
P p)
Applies a visitor to this type.
|
AnnotatedTypeMirror.AnnotatedPrimitiveType |
getCopy(boolean copyAnnotations)
Returns a shallow copy of this type.
|
PrimitiveType |
getUnderlyingType()
Returns the underlying unannotated Java type, which this wraps
|
@Mutable AnnotatedTypeMirror |
substitute(Map<? extends @Mutable AnnotatedTypeMirror,? extends @Mutable AnnotatedTypeMirror> mappings)
Return a copy of this, with the given substitutions performed.
|
addAnnotation, addAnnotation, addAnnotations, clearAnnotations, copyFields, createType, createTypeOfObject, directSuperTypes, directSuperTypes, equals, formatAnnotationString, getAnnotation, getAnnotation, getAnnotation, getAnnotationInHierarchy, getAnnotations, getEffectiveAnnotations, getElement, getEnclosingType, getErased, getExplicitAnnotations, getKind, hasAnnotation, hasAnnotation, hasAnnotationRelaxed, hasEffectiveAnnotation, hasEffectiveAnnotationRelaxed, hasExplicitAnnotation, hasExplicitAnnotation, hasExplicitAnnotationRelaxed, hashCode, isAnnotated, isAnnotatedInHierarchy, isUnqualified, removeAnnotation, removeAnnotation, removeAnnotationInHierarchy, removeAnnotations, removeUnqualified, replaceAnnotation, replaceAnnotations, toString, toString, toStringDebugpublic <R extends @NonNull Object,P extends @NonNull Object> R accept(AnnotatedTypeVisitor<R,P> v, P p)
AnnotatedTypeMirroraccept in class @Mutable AnnotatedTypeMirrorR - the return type of the visitor's methodsP - the type of the additional parameter to the visitor's methodsv - the visitor operating on this typep - additional parameter to the visitorpublic PrimitiveType getUnderlyingType()
AnnotatedTypeMirrorgetUnderlyingType in class @Mutable AnnotatedTypeMirrorpublic AnnotatedTypeMirror.AnnotatedPrimitiveType getCopy(boolean copyAnnotations)
AnnotatedTypeMirrorgetCopy in class @Mutable AnnotatedTypeMirrorcopyAnnotations - whether copy should have annotationspublic @Mutable AnnotatedTypeMirror substitute(Map<? extends @Mutable AnnotatedTypeMirror,? extends @Mutable AnnotatedTypeMirror> mappings)
AnnotatedTypeMirrorsubstitute in class @Mutable AnnotatedTypeMirror