From b3d88fcd5403518d0a83ea77369d958a2a2e0244 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 17 Nov 2009 17:58:05 +0000 Subject: [PATCH] move away from using helper methods on Member --- weaver/src/org/aspectj/weaver/bcel/BcelMethod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelMethod.java b/weaver/src/org/aspectj/weaver/bcel/BcelMethod.java index e790d5f3e..5f606ce7f 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelMethod.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelMethod.java @@ -168,7 +168,7 @@ class BcelMethod extends ResolvedMemberImpl { } else { UnresolvedType[] paramTypes = getParameterTypes(); String[] paramNames = new String[len]; - int index = isStatic() ? 0 : 1; + int index = Modifier.isStatic(modifiers) ? 0 : 1; for (int i = 0; i < len; i++) { LocalVariable lv = varTable.getLocalVariable(index); if (lv == null) { -- 2.39.5