public interface Context extends 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}
ContextItem.Value<T>| Modifier and Type | Method and Description |
|---|---|
ContextItem |
get(ContextKey name) |
default boolean |
isA(java.lang.Class<? extends Context> type) |
ContextItem get(ContextKey name)
default boolean isA(java.lang.Class<? extends Context> type)