public class GraphQualifierHierarchy extends MultiGraphQualifierHierarchy
This class is immutable and can be only created through MultiGraphQualifierHierarchy.MultiGraphFactory.
MultiGraphQualifierHierarchy.MultiGraphFactorybottoms, polymorphicQualifier, polyQualifiers, supertypesGraph, supertypesMap, tops| Constructor and Description | 
|---|
| GraphQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory f,
                       AnnotationMirror bottom) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | finish(QualifierHierarchy qualHierarchy,
      Map<AnnotationMirror,Set<AnnotationMirror>> fullMap,
      Map<AnnotationMirror,AnnotationMirror> polyQualifiers,
      Set<AnnotationMirror> tops,
      Set<AnnotationMirror> bottoms,
      Object... args)Method to finalize the qualifier hierarchy before it becomes unmodifiable. | 
| Set<? extends AnnotationMirror> | getBottomAnnotations() | 
| Set<? extends AnnotationMirror> | getTopAnnotations()Returns the top qualifier for this hierarchy. | 
| boolean | isSubtype(Collection<? extends AnnotationMirror> rhs,
         Collection<? extends AnnotationMirror> lhs)Tests whether there is any annotation in lhs that is a super qualifier of some annotation in
 rhs. | 
addPolyRelations, buildFullMap, findBottoms, findLub, findTops, getBottomAnnotation, getPolymorphicAnnotation, getTopAnnotation, getTypeQualifiers, greatestLowerBound, greatestLowerBoundTypeVariable, isSubtype, isSubtypeTypeVariable, isSubtypeTypeVariable, leastUpperBound, leastUpperBoundTypeVariable, toStringcanHaveEmptyAnnotationSet, findAnnotationInHierarchy, findAnnotationInSameHierarchy, findCorrespondingAnnotation, getAnnotationInHierarchy, getWidth, greatestLowerBound, greatestLowerBounds, greatestLowerBounds, greatestLowerBoundsTypeVariable, implementsWidening, isSubtype, isSubtype, isValid, leastUpperBound, leastUpperBounds, leastUpperBounds, leastUpperBoundsTypeVariable, replacePolyAll, updateMappingToMutableSet, widenUpperBoundpublic GraphQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory f, AnnotationMirror bottom)
protected void finish(QualifierHierarchy qualHierarchy, Map<AnnotationMirror,Set<AnnotationMirror>> fullMap, Map<AnnotationMirror,AnnotationMirror> polyQualifiers, Set<AnnotationMirror> tops, Set<AnnotationMirror> bottoms, Object... args)
MultiGraphQualifierHierarchyfinish in class MultiGraphQualifierHierarchypublic Set<? extends AnnotationMirror> getTopAnnotations()
The top qualifier is inferred from the hierarchy, as being the only one without any super qualifiers
getTopAnnotations in class MultiGraphQualifierHierarchypublic Set<? extends AnnotationMirror> getBottomAnnotations()
getBottomAnnotations in class MultiGraphQualifierHierarchypublic boolean isSubtype(Collection<? extends AnnotationMirror> rhs, Collection<? extends AnnotationMirror> lhs)
QualifierHierarchyisSubtype in class MultiGraphQualifierHierarchy