public class RegexQualifierHierarchy extends Object implements QualifierHierarchy<Regex>
Constructor and Description |
---|
RegexQualifierHierarchy() |
Modifier and Type | Method and Description |
---|---|
Regex |
getBottom()
Gets the bottom annotation of the hierarchy.
|
Regex |
getTop()
Gets the top annotation of the hierarchy.
|
Regex |
greatestLowerBound(Regex a,
Regex b)
Gets the greatest lower bound of two qualifiers.
|
boolean |
isSubtype(Regex subtype,
Regex supertype)
Checks if
subtype is a subtype of supertype . |
Regex |
leastUpperBound(Regex a,
Regex b)
Gets the least upper bound of two qualifiers.
|
public boolean isSubtype(Regex subtype, Regex supertype)
QualifierHierarchy
subtype
is a subtype of supertype
.isSubtype
in interface QualifierHierarchy<Regex>
public Regex leastUpperBound(Regex a, Regex b)
QualifierHierarchy
leastUpperBound
in interface QualifierHierarchy<Regex>
public Regex greatestLowerBound(Regex a, Regex b)
QualifierHierarchy
greatestLowerBound
in interface QualifierHierarchy<Regex>
public Regex getTop()
QualifierHierarchy
getTop
in interface QualifierHierarchy<Regex>
public Regex getBottom()
QualifierHierarchy
getBottom
in interface QualifierHierarchy<Regex>