- All Superinterfaces:
- ContextItem
- All Known Implementing Classes:
- CallerContext, CallerContextPair, CallerSiteContext, CallerSiteContextPair, CallStringContext, CallStringContextSelector.CallStringContextPair, CPAContextSelector.CPAContext, DelegatingContext, Everywhere, GetMethodContext, IllegalArgumentExceptionContext, JavaTypeContext, MethodHandles.FindContext, ReceiverInstanceContext, SelectiveCPAContext
public interface Context
extends ContextItem
A Context is a mapping from a name (ContextKey) to a value (ContextItem)
For example, for CFA-1, there is only one name ("caller"); and the context maps "caller" to an IMethod
As another example, for CPA, there would be name for each parameter slot ("zero","one","two"), and the Context provides a mapping
from this name to a set of types. eg. "one" -> {java.lang.String, java.lang.Date}