]> source.dussan.org Git - aspectj.git/commitdiff
quick variant of support for pointcutdoctor - is this sufficient?
authoraclement <aclement>
Mon, 3 Dec 2007 20:15:35 +0000 (20:15 +0000)
committeraclement <aclement>
Mon, 3 Dec 2007 20:15:35 +0000 (20:15 +0000)
ajde.core/src/org/aspectj/ajde/core/AjCompiler.java
ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java

index 9f267241466d07de2798a62247ca0a94f6adaf2b..ebb86a7020868a7a959b3c453b15c53853fffc87 100644 (file)
@@ -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
         */
index 46db93884b341c5447d693d364d9652cf4dcf84a..40106632bf809ebdb27926d0e70a15c0f72d6036 100644 (file)
@@ -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
         */