diff options
author | aclement <aclement> | 2006-03-14 15:57:27 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-03-14 15:57:27 +0000 |
commit | e0ecf9f86727f0cc326d54da923a397b9be7f41b (patch) | |
tree | b6ea9e9b5addd35af5a7b091925598b30638b31e /org.aspectj.ajdt.core | |
parent | 94e0a52dde6d8395a5c496afaf7b873d9280a790 (diff) | |
download | aspectj-e0ecf9f86727f0cc326d54da923a397b9be7f41b.tar.gz aspectj-e0ecf9f86727f0cc326d54da923a397b9be7f41b.zip |
bug 128650: comment 16: better at tidying up
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java index 9ea120192..b9f2c9662 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java @@ -17,6 +17,8 @@ import java.util.Hashtable; import java.util.Iterator; import java.util.Set; +import org.aspectj.asm.AsmManager; + /** * Central point for all things incremental... @@ -45,7 +47,12 @@ public class IncrementalStateManager { } public static void clearIncrementalStates() { + for (Iterator iter = incrementalStates.values().iterator(); iter.hasNext();) { + AjState element = (AjState) iter.next(); + element.wipeAllKnowledge(); + } incrementalStates.clear(); + AsmManager.getDefault().createNewASM(); // forget what you know... } public static Set getConfigFilesKnown() { |