]> source.dussan.org Git - aspectj.git/commitdiff
move away from using helper methods on Member
authoraclement <aclement>
Tue, 17 Nov 2009 16:39:06 +0000 (16:39 +0000)
committeraclement <aclement>
Tue, 17 Nov 2009 16:39:06 +0000 (16:39 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java

index a5a00a1d1d0822d56161c280bc94ecbdfefe326b..ca112872b63447df7139d4e20114577e9ba9f47d 100644 (file)
@@ -883,7 +883,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.load(fieldBinding.type, 0);
                                                        codeStream.putstatic(fieldBinding);
                                                } else {