From 4e34477ab6aa6701b93f0f331f2c6874e70b424f Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Mon, 1 Apr 2013 15:29:13 -0700 Subject: [PATCH] Fix for 404594 --- org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java index 0eaee3758..31f770da6 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java @@ -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(); } -- 2.39.5