protected class MethodValAnnotatedTypeFactory.MethodValQualifierHierarchy extends MultiGraphQualifierHierarchy
MultiGraphQualifierHierarchy.MultiGraphFactorybottoms, polymorphicQualifier, polyQualifiers, supertypesGraph, supertypesMap, tops, typeQualifiers| Modifier | Constructor and Description |
|---|---|
protected |
MethodValQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory factory,
AnnotationMirror bottom) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSubtype(AnnotationMirror sub,
AnnotationMirror sup)
Most qualifiers have no value fields.
|
AnnotationMirror |
leastUpperBound(AnnotationMirror a1,
AnnotationMirror a2)
Returns the least upper bound for the qualifiers a1 and a2.
|
addPolyRelations, buildFullMap, findBottoms, findLub, findTops, finish, getBottomAnnotation, getBottomAnnotations, getPolymorphicAnnotation, getTopAnnotation, getTopAnnotations, getTypeQualifiers, greatestLowerBound, greatestLowerBoundTypeVariable, isSubtype, isSubtypeTypeVariable, isSubtypeTypeVariable, leastUpperBoundTypeVariable, toStringcanHaveEmptyAnnotationSet, findCorrespondingAnnotation, getAnnotationInHierarchy, getWidth, greatestLowerBound, greatestLowerBounds, greatestLowerBounds, greatestLowerBoundsTypeVariable, isSubtype, isSubtype, isValid, leastUpperBound, leastUpperBounds, leastUpperBounds, leastUpperBoundsTypeVariable, updateMappingToMutableSetprotected MethodValQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory factory, AnnotationMirror bottom)
public AnnotationMirror leastUpperBound(AnnotationMirror a1, AnnotationMirror a2)
QualifierHierarchyExamples:
leastUpperBound in class MultiGraphQualifierHierarchypublic boolean isSubtype(AnnotationMirror sub, AnnotationMirror sup)
MultiGraphQualifierHierarchyisSubtype in class MultiGraphQualifierHierarchysub - The right-hand side, i.e. the sub qualifiersup - The left-hand side, i.e. the super qualifier