Interface CallGraphRefinePolicy
-
- All Known Implementing Classes:
AlwaysRefineCGPolicy,ManualCGRefinePolicy,NeverRefineCGPolicy
public interface CallGraphRefinePolicyInterface for specifying a policy for refining the call graph.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleannextPass()booleanshouldRefine(CallerSiteContext callSiteAndCGNode)
-
-
-
Method Detail
-
shouldRefine
boolean shouldRefine(CallerSiteContext callSiteAndCGNode)
- Parameters:
callSiteAndCGNode-- Returns:
trueif the analysis should attempt to determine targets for the virtual call on-the-fly, andfalseotherwise
-
nextPass
boolean nextPass()
- Returns:
trueif more refinement can be done, and hence another pass can be attempted;falseotherwise
-
-