mirror of
https://gitee.com/BDWare/common
synced 2025-04-27 06:22:19 +00:00
update merge logic
This commit is contained in:
parent
9c77aed029
commit
5e2a8ca38c
@ -6,6 +6,7 @@ import java.util.Map;
|
||||
public class ContractZipBundle {
|
||||
ContractManifest cm;
|
||||
Map<String, ContractNode> path2Node;
|
||||
private ContractNode mergedContractNode;
|
||||
|
||||
public ContractZipBundle() {
|
||||
path2Node = new HashMap<>();
|
||||
@ -28,6 +29,10 @@ public class ContractZipBundle {
|
||||
}
|
||||
|
||||
public ContractNode mergeContractNode() {
|
||||
return mergedContractNode;
|
||||
}
|
||||
|
||||
public void setMergedContractNode() {
|
||||
ContractNode cn = new ContractNode(null);
|
||||
cn.memorySet = cm.memory;
|
||||
cn.setIsBundle(true);
|
||||
@ -41,6 +46,6 @@ public class ContractZipBundle {
|
||||
cn.merge(contract);
|
||||
}
|
||||
cn.mergeInterfaceAnnotationIntoFunction();
|
||||
return cn;
|
||||
this.mergedContractNode = cn;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user