Package proguard.analysis.cpa.interfaces
Interface MergeOperator<StateT extends AbstractState<StateT>>
- Type Parameters:
StateT- The type of the analyzed states.
- All Known Implementing Classes:
JvmMemoryLocationMergeJoinOperator,MergeJoinOperator,MergeSepOperator
public interface MergeOperator<StateT extends AbstractState<StateT>>
The
MergeOperator defines how (and whether) the older AbstractState should be
updated with the newly discovered AbstractState.-
Method Summary
-
Method Details
-
merge
The operator uses theabstractState1to weakenabstractState2depending onprecision. Thus, it is asymmetric regarding its first two parameters. E.g., returnabstractState2for no merging. To guarantee the correct behavior of the algorithm implementations must have no side effects.
-