]> source.dussan.org Git - aspectj.git/commitdiff
avoid using helpers on Member hierarchy
authoraclement <aclement>
Thu, 19 Nov 2009 17:08:00 +0000 (17:08 +0000)
committeraclement <aclement>
Thu, 19 Nov 2009 17:08:00 +0000 (17:08 +0000)
weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java

index 9278bc2f7422e2454ab5a7bad576d11db33f35ef..a8a7209bb715a307b7c4f14f8696119990e6f96c 100644 (file)
@@ -85,7 +85,7 @@ public final class LazyMethodGen implements Traceable {
        private Type[] argumentTypes;
        // private final String[] argumentNames;
        private String[] declaredExceptions;
-       private InstructionList body; // leaving null for abstracts
+       private InstructionList body;
        private List<Attribute> attributes;
        private List<AnnotationAJ> newAnnotations;
        private AnnotationAJ[][] newParameterAnnotations;
@@ -1481,12 +1481,9 @@ public final class LazyMethodGen implements Traceable {
 
        public void assertGoodBody() {
                if (true) {
-                       return; // only enable for debugging, consider using cheaper
+                       return; // only enable for debugging
                }
-               // toString()
-               assertGoodBody(getBody(), toString()); // definingType.getNameAsIdentifier
-               // () + "." + getName());
-               // //toString());
+               assertGoodBody(getBody(), toString());
        }
 
        public static void assertGoodBody(InstructionList il, String from) {