Package soot.jimple.spark.ondemand
Class IncrementalTypesHeuristic
- java.lang.Object
-
- soot.jimple.spark.ondemand.IncrementalTypesHeuristic
-
- All Implemented Interfaces:
FieldCheckHeuristic
public class IncrementalTypesHeuristic extends Object implements FieldCheckHeuristic
-
-
Constructor Summary
Constructors Constructor Description IncrementalTypesHeuristic(TypeManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanrefineVirtualCall(SootUtil.CallSiteAndContext callSiteAndContext)booleanrunNewPass()Update the heuristic for another pass of the algorithm.StringtoString()booleanvalidateMatchesForField(SparkField field)booleanvalidFromBothEnds(SparkField field)
-
-
-
Constructor Detail
-
IncrementalTypesHeuristic
public IncrementalTypesHeuristic(TypeManager manager)
-
-
Method Detail
-
runNewPass
public boolean runNewPass()
Description copied from interface:FieldCheckHeuristicUpdate the heuristic for another pass of the algorithm.- Specified by:
runNewPassin interfaceFieldCheckHeuristic- Returns:
- true if the heuristic will act differently on the next pass
-
validateMatchesForField
public boolean validateMatchesForField(SparkField field)
- Specified by:
validateMatchesForFieldin interfaceFieldCheckHeuristic
-
validFromBothEnds
public boolean validFromBothEnds(SparkField field)
- Specified by:
validFromBothEndsin interfaceFieldCheckHeuristic
-
refineVirtualCall
public boolean refineVirtualCall(SootUtil.CallSiteAndContext callSiteAndContext)
-
-