Package soot.jimple.infoflow.data
Interface ContainerContext
- All Known Subinterfaces:
PositionBasedContext<T>,ValueBasedContext<T>
- All Known Implementing Classes:
IntervalContext,KeySetContext,UnknownContext
public interface ContainerContext
A context definition for distinguishing individual elements inside a
container
- Author:
- Steven Arzt
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the context definitionbooleanentails(ContainerContext other) Returns whether this entails other.booleanGets whether the given context is imprecise, for example, because the context is built conditionally through multiple paths or the value itself contains some approximation.
-
Method Details
-
containsInformation
boolean containsInformation()Returns whether the context definition- Returns:
- true if it still restricts
-
isImprecise
boolean isImprecise()Gets whether the given context is imprecise, for example, because the context is built conditionally through multiple paths or the value itself contains some approximation. Users of this context should respect this flag and refrain from performing strong updates.- Returns:
- true if the context is imprecise
-
entails
Returns whether this entails other.- Parameters:
other- other context definition- Returns:
- true if this entails other
-