Interface PositionBasedContext<T extends PositionBasedContext<?>>
- Type Parameters:
T- concrete position-based context type
- All Superinterfaces:
ContainerContext
- All Known Implementing Classes:
IntervalContext
Interface for all position-based contexts.
Immutable by default.
-
Method Summary
Modifier and TypeMethodDescriptionexactShift(T n) Shifts the position(s) by nintersects(T other) Check whether this and other intersectslessThanEqual(T other) Check whether this is less or equal to otherUnions this with otherMethods inherited from interface soot.jimple.infoflow.data.ContainerContext
containsInformation, entails, isImprecise
-
Method Details
-
intersects
Check whether this and other intersects- Parameters:
other- value-based context- Returns:
- true on perfect match, maybe on part match and otherwise false
-
lessThanEqual
Check whether this is less or equal to other- Parameters:
other- value-based context- Returns:
- true on perfect match, maybe on part match and otherwise false
-
exactShift
Shifts the position(s) by n- Parameters:
n- number of shifts- Returns:
- new position-based context
-
union
Unions this with other- Parameters:
other- other position-based context- Returns:
- new position-based context
-