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