]> source.dussan.org Git - aspectj.git/commitdiff
Fix for 404594
authorAndy Clement <andrew.clement@gmail.com>
Mon, 1 Apr 2013 22:29:13 +0000 (15:29 -0700)
committerAndy Clement <andrew.clement@gmail.com>
Mon, 1 Apr 2013 22:29:13 +0000 (15:29 -0700)
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java

index 0eaee375897214a7d6e1144ec44566b6bf89a681..31f770da6895b87fec99ed88b80af0c78395a082 100644 (file)
@@ -610,7 +610,9 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
                if ((aMember.getKind() == Member.METHOD) || (aMember.getKind() == Member.CONSTRUCTOR)) {
                        // toSearch = getMethodsWithoutIterator(true, allowMissing, !eraseGenerics).iterator();
                        toSearch = getMethodsIncludingIntertypeDeclarations(!eraseGenerics, true);
-               } else {
+               } else if (aMember.getKind()==Member.ADVICE) {
+                       return null;
+               } else { 
                        assert aMember.getKind() == Member.FIELD;
                        toSearch = getFields();
                }