diff options
author | aclement <aclement> | 2007-12-02 22:36:47 +0000 |
---|---|---|
committer | aclement <aclement> | 2007-12-02 22:36:47 +0000 |
commit | c7f8aa2ea0e1d774ba1eda66be46310fcdac4c38 (patch) | |
tree | 73fd491e43e40813ae9833c71253d9519df59030 | |
parent | 9391b1d1cfc643e249cf8f67a11eec2e63f98cfd (diff) | |
download | aspectj-c7f8aa2ea0e1d774ba1eda66be46310fcdac4c38.tar.gz aspectj-c7f8aa2ea0e1d774ba1eda66be46310fcdac4c38.zip |
code for enh193065: pointcutdoctor changes
-rw-r--r-- | ajde.core/src/org/aspectj/ajde/core/AjCompiler.java | 9 | ||||
-rw-r--r-- | ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java | 9 |
2 files changed, 18 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..13df1ccc7 100644 --- a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java +++ b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java @@ -15,6 +15,7 @@ import org.aspectj.ajdt.internal.core.builder.IncrementalStateManager; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.Message; import org.aspectj.org.eclipse.jdt.internal.compiler.impl.CompilerOptions; +import org.aspectj.weaver.CustomMungerFactory; /** * The class to be used by tools to drive a build. An AjCompiler is created @@ -59,6 +60,14 @@ public class AjCompiler { buildManager = new AjdeCoreBuildManager(this); } + public void setCustomMungerFactory(CustomMungerFactory factory) { + buildManager.setCustomMungerFactory(factory); + } + + public CustomMungerFactory getCustomMungerFactory() { + return buildManager.getCustomMungerFactory(); + } + /** * @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..49e0085b5 100644 --- a/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java +++ b/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java @@ -40,6 +40,7 @@ import org.aspectj.bridge.context.CompilationAndWeavingContext; import org.aspectj.org.eclipse.jdt.internal.compiler.impl.CompilerOptions; import org.aspectj.util.ConfigParser; import org.aspectj.util.LangUtil; +import org.aspectj.weaver.CustomMungerFactory; /** * Build Manager which drives the build for a given AjCompiler. @@ -65,6 +66,14 @@ public class AjdeCoreBuildManager { AsmManager.attemptIncrementalModelRepairs = true; } + public void setCustomMungerFactory(CustomMungerFactory factory) { + ajBuildManager.setCustomMungerFactory(factory); + } + + public CustomMungerFactory getCustomMungerFactory() { + return ajBuildManager.getCustomMungerFactory(); + } + /** * @param buildFresh - true if want to force a full build, false otherwise */ |