diff --git a/org.ntlab.interactiveFeatureLocator/src/interactivefeaturelocator/model/DerivationSession.java b/org.ntlab.interactiveFeatureLocator/src/interactivefeaturelocator/model/DerivationSession.java index d3d15ec..21f6667 100644 --- a/org.ntlab.interactiveFeatureLocator/src/interactivefeaturelocator/model/DerivationSession.java +++ b/org.ntlab.interactiveFeatureLocator/src/interactivefeaturelocator/model/DerivationSession.java @@ -14,6 +14,7 @@ public DerivationSession(MethodExecution seed) { currentMethodExecution = seed; + notify(((MethodInfo)seed.getAugmentation())); } public MethodExecution getCurrentMethodExecution() { @@ -61,14 +62,14 @@ reflectedMethodExecutions.add(currentMethodExecution); } else if (currentMethodExecution.getCallerMethodExecution().getAugmentation() == changedMethod && newProperties.size() == 1 && newProperties.contains(MethodProperty.unmodified)) { - // ����9�K�p + // ����6�K�p unreflectedExecutions = ((MethodInfo)currentMethodExecution.getAugmentation()).discardProperty(MethodProperty.created); reflectedMethodExecutions.add(currentMethodExecution.getParent()); } else { for (MethodExecution me : currentMethodExecution.getChildren()) { if (me.getAugmentation() == changedMethod && newProperties.size() == 1 && newProperties.contains(MethodProperty.created)) { - // ����9�K�p + // ����6�K�p unreflectedExecutions.addAll(((MethodInfo)currentMethodExecution.getAugmentation()).discardProperty(MethodProperty.unmodified)); reflectedMethodExecutions.add(me); } diff --git a/org.ntlab.interactiveFeatureLocator/src/interactivefeaturelocator/model/DerivationUnit.java b/org.ntlab.interactiveFeatureLocator/src/interactivefeaturelocator/model/DerivationUnit.java index 2058404..1cb8185 100644 --- a/org.ntlab.interactiveFeatureLocator/src/interactivefeaturelocator/model/DerivationUnit.java +++ b/org.ntlab.interactiveFeatureLocator/src/interactivefeaturelocator/model/DerivationUnit.java @@ -55,7 +55,9 @@ Set unreflectedExecutions = activeSession.decideMethodProperty(property); // �Z�b�V��������鏈�� for (MethodExecution unreflectedExecution : unreflectedExecutions) { - sessions.add(new DerivationSession(unreflectedExecution)); + DerivationSession session = new DerivationSession(unreflectedExecution); + sessions.add(session); + unreflectedExecutions.addAll(session.getUnreflectedMethodExecutions());// ���삪����`�̂悤�Ȃ̂Œ��ӁI } return null; }