Package soot.jimple.spark.ondemand
Class ManualAndInnerHeuristic
- java.lang.Object
-
- soot.jimple.spark.ondemand.ManualAndInnerHeuristic
-
- All Implemented Interfaces:
FieldCheckHeuristic
public class ManualAndInnerHeuristic extends Object implements FieldCheckHeuristic
-
-
Constructor Summary
Constructors Constructor Description ManualAndInnerHeuristic(TypeManager tm, int maxPasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanrunNewPass()Update the heuristic for another pass of the algorithm.booleanvalidateMatchesForField(SparkField field)booleanvalidFromBothEnds(SparkField field)
-
-
-
Constructor Detail
-
ManualAndInnerHeuristic
public ManualAndInnerHeuristic(TypeManager tm, int maxPasses)
-
-
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
-
-