diff options
author | aclement <aclement> | 2008-06-18 17:19:08 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-18 17:19:08 +0000 |
commit | b04b0c3c7865be55eb1daf333425e48ebc511d2c (patch) | |
tree | bbf0026f1fff1a4364dc78c4a87bd0514edcd736 /weaver/src | |
parent | f02658106fc7022ef60ad077accda8ce039a5ca7 (diff) | |
download | aspectj-b04b0c3c7865be55eb1daf333425e48ebc511d2c.tar.gz aspectj-b04b0c3c7865be55eb1daf333425e48ebc511d2c.zip |
delegating 2 arg method to keep those on a back level happy
Diffstat (limited to 'weaver/src')
-rw-r--r-- | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | 11 |
1 files changed, 11 insertions, 0 deletions
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. |