From 165a5be121de8466cf6df8b51d41991022df1acb Mon Sep 17 00:00:00 2001 From: acolyer Date: Tue, 4 May 2004 16:05:56 +0000 Subject: [PATCH] Add a constructor that takes a ClassPathManager --- weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | 6 ++++++ 1 file changed, 6 insertions(+) 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()); } -- 2.39.5