public interface QualifierHierarchy<Q>
DefaultQualifiedTypeFactory
component for performing subtyping
checks between qualifiers.Modifier and Type | Method and Description |
---|---|
Q |
getBottom()
Gets the bottom annotation of the hierarchy.
|
Q |
getTop()
Gets the top annotation of the hierarchy.
|
Q |
greatestLowerBound(Q a,
Q b)
Gets the greatest lower bound of two qualifiers.
|
boolean |
isSubtype(Q subtype,
Q supertype)
Checks if
subtype is a subtype of supertype . |
Q |
leastUpperBound(Q a,
Q b)
Gets the least upper bound of two qualifiers.
|