From f589059e2975760e679d6e4fb893c4724c4046fb Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 17 Nov 2009 17:58:26 +0000 Subject: [PATCH] move away from using helper methods on Member --- weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java b/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java index c60eda53a..eaf8a8157 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java @@ -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. -- 2.39.5