Interface FieldRefinePolicy
-
- All Known Implementing Classes:
AlwaysRefineFieldsPolicy,ContainersFieldPolicy,DelegatingFieldRefinePolicy,ManualFieldPolicy,NeverRefineFieldsPolicy,OnlyArraysPolicy,TunedFieldRefinementPolicy
public interface FieldRefinePolicyInterface for specifying a policy for refinement of field access handling.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleannextPass()booleanshouldRefine(IField field, PointerKey basePtr, PointerKey val, IFlowLabel label, StateMachine.State state)
-
-
-
Method Detail
-
shouldRefine
boolean shouldRefine(IField field, PointerKey basePtr, PointerKey val, IFlowLabel label, StateMachine.State state)
- Parameters:
field- the accessed fieldbasePtr- the base pointer of the accessval-state-- Returns:
trueif match edges for the field access should be refined. Otherwise,falseis returned, indicating that the field can be handled with match edges.
-
nextPass
boolean nextPass()
- Returns:
trueif more refinement can be done, and hence another pass can be attempted;falseotherwise
-
-