Package proguard.analysis.cpa.defaults
Class MergeJoinOperator
- java.lang.Object
-
- proguard.analysis.cpa.defaults.MergeJoinOperator
-
- All Implemented Interfaces:
MergeOperator
public final class MergeJoinOperator extends java.lang.Object implements MergeOperator
ThisMergeOperator
applies the join operator to its arguments.
-
-
Constructor Summary
Constructors Constructor Description MergeJoinOperator(AbstractDomain abstractDomain)
Create a merge operator from an abstract domain defining the join operator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractState
merge(AbstractState abstractState1, AbstractState abstractState2, Precision precision)
The operator uses theabstractState1
to weakenabstractState2
depending onprecision
.
-
-
-
Constructor Detail
-
MergeJoinOperator
public MergeJoinOperator(AbstractDomain abstractDomain)
Create a merge operator from an abstract domain defining the join operator.- Parameters:
abstractDomain
- abstract domain
-
-
Method Detail
-
merge
public AbstractState merge(AbstractState abstractState1, AbstractState abstractState2, Precision precision)
Description copied from interface:MergeOperator
The operator uses theabstractState1
to weakenabstractState2
depending onprecision
. Thus, it is asymmetric regarding its first two parameters. E.g., returnabstractState2
for no merging. To guarantee the correct behavior of the algorithm implementations must have no side effects.- Specified by:
merge
in interfaceMergeOperator
-
-