diff --git a/src/org/ntlab/deltaExtractor/DeltaExtractor.java b/src/org/ntlab/deltaExtractor/DeltaExtractor.java index 794b9a4..f8d6644 100644 --- a/src/org/ntlab/deltaExtractor/DeltaExtractor.java +++ b/src/org/ntlab/deltaExtractor/DeltaExtractor.java @@ -844,6 +844,11 @@ if (objectId.equals(srcObject.getId())) { r = new Reference(thisObj, srcObject); r.setCollection(true); + if (methodExecution.getSignature().contains(".iterator()") + || methodExecution.getSignature().contains(".listIterator()") + || methodExecution.getSignature().contains(".entrySet()") + || methodExecution.getSignature().contains(".keySet()") + || methodExecution.getSignature().contains(".values()")) r.setCreation(true); // �C�e���[�^�I�u�W�F�N�g���𐶐������Ƃ݂Ȃ� eStructure.addSrcSide(r); srcObject = thisObj; aliasCollector.changeTrackingObject(objectId, thisObjectId, true); @@ -851,6 +856,11 @@ } else if(objectId.equals(dstObject.getId())) { r = new Reference(thisObj, dstObject); r.setCollection(true); + if (methodExecution.getSignature().contains(".iterator()") + || methodExecution.getSignature().contains(".listIterator()") + || methodExecution.getSignature().contains(".entrySet()") + || methodExecution.getSignature().contains(".keySet()") + || methodExecution.getSignature().contains(".values()")) r.setCreation(true); // �C�e���[�^�I�u�W�F�N�g���𐶐������Ƃ݂Ȃ� eStructure.addDstSide(r); dstObject =thisObj; aliasCollector.changeTrackingObject(objectId, thisObjectId, false);