]> source.dussan.org Git - aspectj.git/commitdiff
delegating 2 arg method to keep those on a back level happy
authoraclement <aclement>
Wed, 18 Jun 2008 17:19:08 +0000 (17:19 +0000)
committeraclement <aclement>
Wed, 18 Jun 2008 17:19:08 +0000 (17:19 +0000)
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java

index 5f1205d3e92d72c15d8416c09207ddcd61d839b7..e27eb75c38c8155900a05cb5e784166dca97b1b9 100644 (file)
@@ -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.