From 97ab352ee79577d8a743134d8e53e6b69f6734ef Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 3 Dec 2007 20:15:35 +0000 Subject: [PATCH] quick variant of support for pointcutdoctor - is this sufficient? --- ajde.core/src/org/aspectj/ajde/core/AjCompiler.java | 8 ++++++++ .../aspectj/ajde/core/internal/AjdeCoreBuildManager.java | 8 ++++++++ 2 files changed, 16 insertions(+) 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 */ -- 2.39.5