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

index c60eda53acef5645a4c1c5eda9e5f79438c43529..eaf8a8157404613818ba64f0ba09b7eddf6bb170 100644 (file)
@@ -840,7 +840,7 @@ public class BcelShadow extends Shadow {
         */
        public boolean arg0HoldsThis() {
                if (getKind().isEnclosingKind()) {
-                       return !getSignature().isStatic();
+                       return !Modifier.isStatic(getSignature().getModifiers());
                } else if (enclosingShadow == null) {
                        // XXX this is mostly right
                        // this doesn't do the right thing for calls in the pre part of introduced constructors.