public class GraphQualifierHierarchy extends MultiGraphQualifierHierarchy
GraphQualifierHierarchy.GraphFactory
.Modifier and Type | Class and Description |
---|---|
static class |
GraphQualifierHierarchy.GraphFactory
We only need to make sure that "build" instantiates the right QualifierHierarchy.
|
MultiGraphQualifierHierarchy.MultiGraphFactory
bottoms, polyQualifiers, supertypesGraph, supertypesMap, tops
checker
Modifier | Constructor and Description |
---|---|
protected |
GraphQualifierHierarchy(GraphQualifierHierarchy.GraphFactory f) |
protected |
GraphQualifierHierarchy(GraphQualifierHierarchy h) |
Modifier and Type | Method and Description |
---|---|
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, getTopAnnotation, getTypeQualifiers, greatestLowerBound, isSubtype, leastUpperBound, toString
greatestLowerBounds, leastUpperBounds
protected GraphQualifierHierarchy(GraphQualifierHierarchy.GraphFactory f)
protected GraphQualifierHierarchy(GraphQualifierHierarchy h)
public Set<@Nullable AnnotationMirror> getTopAnnotations()
getTopAnnotations
in class MultiGraphQualifierHierarchy
public Set<@Nullable AnnotationMirror> getBottomAnnotations()
getBottomAnnotations
in class MultiGraphQualifierHierarchy
public boolean isSubtype(Collection<@Nullable AnnotationMirror> rhs, Collection<@Nullable AnnotationMirror> lhs)
QualifierHierarchy
isSubtype
in class MultiGraphQualifierHierarchy