aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Clement <andrew.clement@gmail.com>2013-04-01 15:29:13 -0700
committerAndy Clement <andrew.clement@gmail.com>2013-04-01 15:29:13 -0700
commit4e34477ab6aa6701b93f0f331f2c6874e70b424f (patch)
tree86c0e7b72712e093732ea8698488e1cbfff5c7ef
parent290b3be75f72e7373a17ad7f110a8d41d51192ba (diff)
downloadaspectj-4e34477ab6aa6701b93f0f331f2c6874e70b424f.tar.gz
aspectj-4e34477ab6aa6701b93f0f331f2c6874e70b424f.zip
Fix for 404594
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java4
1 files changed, 3 insertions, 1 deletions
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();
}