summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2009-11-17 17:58:05 +0000
committeraclement <aclement>2009-11-17 17:58:05 +0000
commitb3d88fcd5403518d0a83ea77369d958a2a2e0244 (patch)
tree9d493a8618f4f4caf05bd701a982e2796da28d20 /weaver
parent8812484c907e46b5691dffd8279f2e5a530f09c0 (diff)
downloadaspectj-b3d88fcd5403518d0a83ea77369d958a2a2e0244.tar.gz
aspectj-b3d88fcd5403518d0a83ea77369d958a2a2e0244.zip
move away from using helper methods on Member
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelMethod.java2
1 files changed, 1 insertions, 1 deletions
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) {