From b424f7307124a4b66841697d1cd937e5e330b843 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 17 Nov 2009 17:56:58 +0000 Subject: [PATCH] move away from using helper methods on Member --- .../aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java index ca112872b..5a8426c80 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java @@ -867,7 +867,7 @@ public class AspectDeclaration extends TypeDeclaration { new BodyGenerator() { public void generate(CodeStream codeStream) { // body starts here - if (field.isStatic()) { + if (Modifier.isStatic(field.getModifiers())) { codeStream.getstatic(fieldBinding); } else { codeStream.aload_0(); @@ -907,7 +907,7 @@ public class AspectDeclaration extends TypeDeclaration { AstUtil.generateParameterLoads(accessMethod.parameters, codeStream); - if (method.isStatic()) { + if (Modifier.isStatic(method.getModifiers())) { codeStream.invokestatic(factory.makeMethodBinding(method)); } else { codeStream.invokevirtual(factory.makeMethodBinding(method)); -- 2.39.5