diff options
author | aclement <aclement> | 2007-12-03 20:15:35 +0000 |
---|---|---|
committer | aclement <aclement> | 2007-12-03 20:15:35 +0000 |
commit | 97ab352ee79577d8a743134d8e53e6b69f6734ef (patch) | |
tree | 19ee554bbbd8dcf38425a600ca4033ceba368a9b | |
parent | a28ee4c845a9429bcbe1bd0bdf72d5e3fa93f7e4 (diff) | |
download | aspectj-97ab352ee79577d8a743134d8e53e6b69f6734ef.tar.gz aspectj-97ab352ee79577d8a743134d8e53e6b69f6734ef.zip |
quick variant of support for pointcutdoctor - is this sufficient?
-rw-r--r-- | ajde.core/src/org/aspectj/ajde/core/AjCompiler.java | 8 | ||||
-rw-r--r-- | ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java index 9f2672414..ebb86a702 100644 --- a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java +++ b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java @@ -59,6 +59,14 @@ public class AjCompiler { buildManager = new AjdeCoreBuildManager(this); } + public void setCustomMungerFactory(Class factoryClass) { + buildManager.setCustomMungerFactory(factoryClass); + } + + public boolean hasCustomMungerFactory() { + return buildManager.hasCustomMungerFactory(); + } + /** * @return the id for this AjCompiler */ diff --git a/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java b/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java index 46db93884..40106632b 100644 --- a/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java +++ b/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java @@ -65,6 +65,14 @@ public class AjdeCoreBuildManager { AsmManager.attemptIncrementalModelRepairs = true; } + public void setCustomMungerFactory(Class factoryClass) { + ajBuildManager.setCustomMungerFactory(factoryClass); + } + + public boolean hasCustomMungerFactory() { + return ajBuildManager.hasCustomMungerFactory(); + } + /** * @param buildFresh - true if want to force a full build, false otherwise */ |