public class GraphQualifierHierarchy extends MultiGraphQualifierHierarchy
GraphFactory.MultiGraphQualifierHierarchy.MultiGraphFactorybottoms, polymorphicQualifier, polyQualifiers, supertypesGraph, supertypesMap, tops| Constructor and Description |
|---|
GraphQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory f,
@Nullable AnnotationMirror bottom) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finish(AnnotationUtils annoFactory,
QualifierHierarchy qualHierarchy,
Map<@Nullable AnnotationMirror,Set<@Nullable AnnotationMirror>> fullMap,
Map<@Nullable AnnotationMirror,@Nullable AnnotationMirror> polyQualifiers,
Set<@Nullable AnnotationMirror> tops,
Set<@Nullable AnnotationMirror> bottoms,
Object... args)
Method to finalize the qualifier hierarchy before it becomes unmodifiable.
|
Set<@Nullable AnnotationMirror> |
getBottomAnnotations() |
Set<@Nullable AnnotationMirror> |
getTopAnnotations()
Returns the top qualifier for this hierarchy.
|
boolean |
isSubtype(Collection<@Nullable AnnotationMirror> rhs,
Collection<@Nullable AnnotationMirror> lhs)
Tests whether there is any annotation in lhs that is a super qualifier
of some annotation in rhs.
|
addPolyRelations, buildFullMap, findBottoms, findTops, getBottomAnnotation, getPolymorphicAnnotation, getTopAnnotation, getTypeQualifiers, greatestLowerBound, isSubtype, leastUpperBound, toStringfindCorrespondingAnnotation, greatestLowerBounds, leastUpperBoundspublic GraphQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory f, @Nullable AnnotationMirror bottom)
protected void finish(AnnotationUtils annoFactory, QualifierHierarchy qualHierarchy, Map<@Nullable AnnotationMirror,Set<@Nullable AnnotationMirror>> fullMap, Map<@Nullable AnnotationMirror,@Nullable AnnotationMirror> polyQualifiers, Set<@Nullable AnnotationMirror> tops, Set<@Nullable AnnotationMirror> bottoms, Object... args)
MultiGraphQualifierHierarchyfinish in class MultiGraphQualifierHierarchypublic Set<@Nullable AnnotationMirror> getTopAnnotations()
getTopAnnotations in class MultiGraphQualifierHierarchypublic Set<@Nullable AnnotationMirror> getBottomAnnotations()
getBottomAnnotations in class MultiGraphQualifierHierarchypublic boolean isSubtype(Collection<@Nullable AnnotationMirror> rhs, Collection<@Nullable AnnotationMirror> lhs)
QualifierHierarchyisSubtype in class MultiGraphQualifierHierarchy