diff options
author | acolyer <acolyer> | 2004-06-08 15:02:50 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-06-08 15:02:50 +0000 |
commit | 7244306a60a4bc92d1d01c48de77e369bba402f6 (patch) | |
tree | c8068ae000cfa33cc32aa64d739b994e090f8421 /weaver | |
parent | 9cbf668c8c728780b71506ec42036ca79a6457ce (diff) | |
download | aspectj-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.java | 6 |
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()); } |