aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-06-08 15:02:50 +0000
committeracolyer <acolyer>2004-06-08 15:02:50 +0000
commit7244306a60a4bc92d1d01c48de77e369bba402f6 (patch)
treec8068ae000cfa33cc32aa64d739b994e090f8421 /weaver
parent9cbf668c8c728780b71506ec42036ca79a6457ce (diff)
downloadaspectj-7244306a60a4bc92d1d01c48de77e369bba402f6.tar.gz
aspectj-7244306a60a4bc92d1d01c48de77e369bba402f6.zip
enable construction of a BcelWorld with an externally provided
ClassPathManager
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelWorld.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
index 512af4143..57a5c8988 100644
--- a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
+++ b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
@@ -90,6 +90,12 @@ public class BcelWorld extends World {
setXRefHandler(xrefHandler);
}
+ public BcelWorld(ClassPathManager cpm, IMessageHandler handler, ICrossReferenceHandler xrefHandler) {
+ this.classPath = cpm;
+ setMessageHandler(handler);
+ setXRefHandler(xrefHandler);
+ }
+
public void addPath (String name) {
classPath.addPath(name, this.getMessageHandler());
}