public static class AnnotatedTypeMirror.AnnotatedIntersectionType extends AnnotatedTypeMirror
AnnotatedTypeMirror.AnnotatedArrayType, AnnotatedTypeMirror.AnnotatedDeclaredType, AnnotatedTypeMirror.AnnotatedExecutableType, AnnotatedTypeMirror.AnnotatedIntersectionType, AnnotatedTypeMirror.AnnotatedNoType, AnnotatedTypeMirror.AnnotatedNullType, AnnotatedTypeMirror.AnnotatedPrimitiveType, AnnotatedTypeMirror.AnnotatedReferenceType, AnnotatedTypeMirror.AnnotatedTypeVariable, AnnotatedTypeMirror.AnnotatedWildcardType
Modifier and Type | Field and Description |
---|---|
protected IntersectionType |
actualType |
protected List<AnnotatedTypeMirror.AnnotatedDeclaredType> |
supertypes |
annotations, atypeFactory, element
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(AnnotatedTypeVisitor<R,P> v,
P p)
Applies a visitor to this type.
|
List<AnnotatedTypeMirror.AnnotatedDeclaredType> |
directSuperTypes() |
List<AnnotatedTypeMirror.AnnotatedDeclaredType> |
directSuperTypesField() |
AnnotatedTypeMirror.AnnotatedIntersectionType |
getCopy(boolean copyAnnotations)
Returns a shallow copy of this type.
|
AnnotatedTypeMirror |
substitute(Map<? extends AnnotatedTypeMirror,? extends AnnotatedTypeMirror> mappings)
Return a copy of this, with the given substitutions performed.
|
String |
toString(boolean printInvisible)
A version of toString() that optionally outputs all type qualifiers,
including @InvisibleQualifier's.
|
addAnnotation, addAnnotation, addAnnotations, clearAnnotations, copyFields, createType, createTypeOfObject, directSuperTypes, equals, formatAnnotationMirror, formatAnnotationMirrorArg, formatAnnotationString, getAnnotation, getAnnotation, getAnnotationInHierarchy, getAnnotations, getEffectiveAnnotations, getElement, getErased, getExplicitAnnotations, getKind, getUnderlyingType, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotationRelaxed, hasEffectiveAnnotation, hasEffectiveAnnotationRelaxed, hasExplicitAnnotation, hasExplicitAnnotation, hasExplicitAnnotationRelaxed, hashCode, isAnnotated, isAnnotatedInHierarchy, isUnqualified, removeAnnotation, removeAnnotation, removeAnnotationInHierarchy, removeAnnotations, replaceAnnotation, replaceAnnotations, toString, toStringDebug
protected final IntersectionType actualType
protected List<AnnotatedTypeMirror.AnnotatedDeclaredType> supertypes
public String toString(boolean printInvisible)
AnnotatedTypeMirror
toString
in class AnnotatedTypeMirror
printInvisible
- Whether to always output invisible qualifiers.public <R,P> R accept(AnnotatedTypeVisitor<R,P> v, P p)
AnnotatedTypeMirror
accept
in class AnnotatedTypeMirror
R
- 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 AnnotatedTypeMirror.AnnotatedIntersectionType getCopy(boolean copyAnnotations)
AnnotatedTypeMirror
getCopy
in class AnnotatedTypeMirror
copyAnnotations
- whether copy should have annotationspublic List<AnnotatedTypeMirror.AnnotatedDeclaredType> directSuperTypes()
directSuperTypes
in class AnnotatedTypeMirror
public List<AnnotatedTypeMirror.AnnotatedDeclaredType> directSuperTypesField()
public AnnotatedTypeMirror substitute(Map<? extends AnnotatedTypeMirror,? extends AnnotatedTypeMirror> mappings)
AnnotatedTypeMirror
substitute
in class AnnotatedTypeMirror