protected class AliasingAnnotatedTypeFactory.AliasingQualifierHierarchy extends NoElementQualifierHierarchy
bottoms, kindToAnnotationMirror, qualifierKindHierarchy, qualifiers, tops
Modifier | Constructor and Description |
---|---|
protected |
AliasingQualifierHierarchy(Collection<Class<? extends Annotation>> qualifierClasses,
Elements elements)
Create AliasingQualifierHierarchy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSubtype(AnnotationMirror subAnno,
AnnotationMirror superAnno)
Tests whether
subQualifier is equal to or a sub-qualifier of superQualifier ,
according to the type qualifier hierarchy. |
createAnnotationMirrors, createBottoms, createQualifierKindHierarchy, createTops, findAnnotationInHierarchy, findAnnotationInSameHierarchy, getBottomAnnotation, getBottomAnnotations, getPolymorphicAnnotation, getQualifierKind, getTopAnnotation, getTopAnnotations, greatestLowerBound, isPolymorphicQualifier, leastUpperBound
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assertSameSize, assertSameSize, canHaveEmptyAnnotationSet, getWidth, greatestLowerBounds, isSubtype, isValid, leastUpperBounds, numberOfIterationsBeforeWidening, updateMappingToMutableSet, widenedUpperBound
protected AliasingQualifierHierarchy(Collection<Class<? extends Annotation>> qualifierClasses, Elements elements)
qualifierClasses
- classes of annotations that are the qualifierselements
- element utilspublic boolean isSubtype(AnnotationMirror subAnno, AnnotationMirror superAnno)
QualifierHierarchy
subQualifier
is equal to or a sub-qualifier of superQualifier
,
according to the type qualifier hierarchy.isSubtype
in interface QualifierHierarchy
isSubtype
in class NoElementQualifierHierarchy
subAnno
- possible subqualifier of superQualifier
superAnno
- possible superqualifier of subQualifier
subQualifier
is a subqualifier of, or equal to, superQualifier