Class JavaScriptFunctionApplyContextSelector

  • All Implemented Interfaces:
    com.ibm.wala.ipa.callgraph.ContextSelector

    public class JavaScriptFunctionApplyContextSelector
    extends java.lang.Object
    implements com.ibm.wala.ipa.callgraph.ContextSelector
    See Also:
    MDN Function.prototype.apply() docs
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.ibm.wala.ipa.callgraph.ContextKey APPLY_NON_NULL_ARGS  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.ibm.wala.ipa.callgraph.Context getCalleeTarget​(com.ibm.wala.ipa.callgraph.CGNode caller, com.ibm.wala.classLoader.CallSiteReference site, com.ibm.wala.classLoader.IMethod callee, com.ibm.wala.ipa.callgraph.propagation.InstanceKey[] receiver)  
      com.ibm.wala.util.intset.IntSet getRelevantParameters​(com.ibm.wala.ipa.callgraph.CGNode caller, com.ibm.wala.classLoader.CallSiteReference site)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • APPLY_NON_NULL_ARGS

        public static final com.ibm.wala.ipa.callgraph.ContextKey APPLY_NON_NULL_ARGS
    • Constructor Detail

      • JavaScriptFunctionApplyContextSelector

        public JavaScriptFunctionApplyContextSelector​(com.ibm.wala.ipa.callgraph.ContextSelector base)
    • Method Detail

      • getRelevantParameters

        public com.ibm.wala.util.intset.IntSet getRelevantParameters​(com.ibm.wala.ipa.callgraph.CGNode caller,
                                                                     com.ibm.wala.classLoader.CallSiteReference site)
        Specified by:
        getRelevantParameters in interface com.ibm.wala.ipa.callgraph.ContextSelector
      • getCalleeTarget

        public com.ibm.wala.ipa.callgraph.Context getCalleeTarget​(com.ibm.wala.ipa.callgraph.CGNode caller,
                                                                  com.ibm.wala.classLoader.CallSiteReference site,
                                                                  com.ibm.wala.classLoader.IMethod callee,
                                                                  com.ibm.wala.ipa.callgraph.propagation.InstanceKey[] receiver)
        Specified by:
        getCalleeTarget in interface com.ibm.wala.ipa.callgraph.ContextSelector