protected class UnitsAnnotatedTypeFactory.UnitsQualifierHierarchy extends GraphQualifierHierarchy
MultiGraphQualifierHierarchy.MultiGraphFactorybottoms, polymorphicQualifier, polyQualifiers, supertypesGraph, supertypesMap, tops, typeQualifiers| Constructor and Description |
|---|
UnitsQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory mgf,
AnnotationMirror bottom) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSubtype(AnnotationMirror rhs,
AnnotationMirror lhs)
Most qualifiers have no value fields.
|
AnnotationMirror |
leastUpperBound(AnnotationMirror a1,
AnnotationMirror a2)
Returns the least upper bound for the qualifiers a1 and a2.
|
finish, getBottomAnnotations, getTopAnnotations, isSubtypeaddPolyRelations, buildFullMap, findBottoms, findLub, findTops, getBottomAnnotation, getPolymorphicAnnotation, getTopAnnotation, getTypeQualifiers, greatestLowerBound, greatestLowerBoundTypeVariable, isSubtypeTypeVariable, isSubtypeTypeVariable, leastUpperBoundTypeVariable, toStringcanHaveEmptyAnnotationSet, findCorrespondingAnnotation, getAnnotationInHierarchy, getWidth, greatestLowerBound, greatestLowerBounds, greatestLowerBounds, greatestLowerBoundsTypeVariable, isSubtype, isSubtype, isValid, leastUpperBound, leastUpperBounds, leastUpperBounds, leastUpperBoundsTypeVariable, updateMappingToMutableSetpublic UnitsQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory mgf, AnnotationMirror bottom)
public boolean isSubtype(AnnotationMirror rhs, AnnotationMirror lhs)
MultiGraphQualifierHierarchyisSubtype in class MultiGraphQualifierHierarchyrhs - The right-hand side, i.e. the sub qualifierlhs - The left-hand side, i.e. the super qualifierpublic AnnotationMirror leastUpperBound(AnnotationMirror a1, AnnotationMirror a2)
QualifierHierarchyExamples:
leastUpperBound in class MultiGraphQualifierHierarchy