From b04b0c3c7865be55eb1daf333425e48ebc511d2c Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 18 Jun 2008 17:19:08 +0000 Subject: delegating 2 arg method to keep those on a back level happy --- weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'weaver/src') diff --git a/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java b/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java index 5f1205d3e..e27eb75c3 100644 --- a/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java +++ b/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java @@ -239,6 +239,17 @@ public class WeavingAdaptor implements IMessageContext { warn("bad library: '" + libFile + "'"); } } + + /** + * Weave a class using aspects previously supplied to the adaptor. + * @param name the name of the class + * @param bytes the class bytes + * @return the woven bytes + * @exception IOException weave failed + */ + public byte[] weaveClass(String name, byte[] bytes) throws IOException { + return weaveClass(name,bytes,false); + } /** * Weave a class using aspects previously supplied to the adaptor. -- cgit v1.2.3