Class ManualCGRefinePolicy
java.lang.Object
com.ibm.wala.demandpa.alg.refinepolicy.ManualCGRefinePolicy
- All Implemented Interfaces:
CallGraphRefinePolicy
A call graph refinement policy with manual annotations for which virtual call sites to refine.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
nextPass()
boolean
shouldRefine
(CallerSiteContext callSiteAndCGNode)
-
Constructor Details
-
ManualCGRefinePolicy
public ManualCGRefinePolicy()
-
-
Method Details
-
shouldRefine
- Specified by:
shouldRefine
in interfaceCallGraphRefinePolicy
- Returns:
true
if the analysis should attempt to determine targets for the virtual call on-the-fly, andfalse
otherwise- Throws:
IllegalArgumentException
-
nextPass
public boolean nextPass()- Specified by:
nextPass
in interfaceCallGraphRefinePolicy
- Returns:
true
if more refinement can be done, and hence another pass can be attempted;false
otherwise
-