diff options
author | aclement <aclement> | 2009-11-19 17:08:00 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-11-19 17:08:00 +0000 |
commit | c2bb5945bd83700f41c903ce273fb3a8ea6c5198 (patch) | |
tree | b23f27fce378805938b397554561ea1f30cd86c7 /weaver | |
parent | 8c471f187d47a80b8c0c0aeb21ee64872e07cb68 (diff) | |
download | aspectj-c2bb5945bd83700f41c903ce273fb3a8ea6c5198.tar.gz aspectj-c2bb5945bd83700f41c903ce273fb3a8ea6c5198.zip |
avoid using helpers on Member hierarchy
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java index 9278bc2f7..a8a7209bb 100644 --- a/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java +++ b/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java @@ -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) { |