Package com.ibm.wala.ipa.callgraph
Interface Context
-
- All Known Implementing Classes:
AndroidContext,ArgumentInstanceContext,CallerContext,CallerContextPair,CallerSiteContext,CallerSiteContextPair,CallStringContext,CallStringContextSelector.CallStringContextPair,DelegatingContext,Everywhere,GetMethodContext,IllegalArgumentExceptionContext,IntentContext,JavaTypeContext,MethodHandles.MethodContext,ReceiverInstanceContext,SelectiveCPAContext
public interface ContextA 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}
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextItemget(ContextKey name)
-
-
-
Method Detail
-
get
ContextItem get(ContextKey name)
- Returns:
- the objects corresponding to a given name
-
-