aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
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());
}