]> source.dussan.org Git - aspectj.git/commitdiff
move away from using helper methods on Member
authoraclement <aclement>
Tue, 17 Nov 2009 17:05:23 +0000 (17:05 +0000)
committeraclement <aclement>
Tue, 17 Nov 2009 17:05:23 +0000 (17:05 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java

index bd96c510133cc2abcf09830a6dd07e8856cf72a1..46d83fd721c29ca6ed834f769ba599dd919ad90f 100644 (file)
@@ -580,7 +580,7 @@ class BcelClassWeaver implements IClassWeaver {
                        // we can't be overriding a static method
                        return null;
                }
-               if (methodThatMightBeGettingOverridden.isPrivate()) {
+               if (Modifier.isPrivate(methodThatMightBeGettingOverridden.getModifiers())) {
                        // we can't be overriding a private method
                        return null;
                }