public class GraphQualifierHierarchy extends MultiGraphQualifierHierarchy
GraphFactory
.MultiGraphQualifierHierarchy.MultiGraphFactory
bottoms, elements, 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<AnnotationMirror> |
getBottomAnnotations() |
Set<AnnotationMirror> |
getTopAnnotations()
Returns the top qualifier for this hierarchy.
|
boolean |
isSubtype(Collection<AnnotationMirror> rhs,
Collection<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, toString
findCorrespondingAnnotation, greatestLowerBounds, leastUpperBounds
public 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)
MultiGraphQualifierHierarchy
finish
in class MultiGraphQualifierHierarchy
public Set<AnnotationMirror> getTopAnnotations()
getTopAnnotations
in class MultiGraphQualifierHierarchy
public Set<AnnotationMirror> getBottomAnnotations()
getBottomAnnotations
in class MultiGraphQualifierHierarchy
public boolean isSubtype(Collection<AnnotationMirror> rhs, Collection<AnnotationMirror> lhs)
QualifierHierarchy
isSubtype
in class MultiGraphQualifierHierarchy