From: aclement Date: Tue, 17 Nov 2009 17:05:23 +0000 (+0000) Subject: move away from using helper methods on Member X-Git-Tag: V1_6_7~58 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2d22a529bb98aa01e3f8d14f80fb0c40b5bd2e92;p=aspectj.git move away from using helper methods on Member --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java index bd96c5101..46d83fd72 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java @@ -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; }