diff options
author | aclement <aclement> | 2008-06-03 05:40:16 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-03 05:40:16 +0000 |
commit | 0a38e35bc83f2077828e1c67306a8cd89b5e078d (patch) | |
tree | 6254ee1a9d81b42125ee5f3f5a1b32e908a8b6c8 | |
parent | 45bc547b981668be3c2ff628ebb38cb34d5011c6 (diff) | |
download | aspectj-0a38e35bc83f2077828e1c67306a8cd89b5e078d.tar.gz aspectj-0a38e35bc83f2077828e1c67306a8cd89b5e078d.zip |
avoid NPE
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java b/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java index ee1846156..059711640 100644 --- a/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java +++ b/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java @@ -36,9 +36,8 @@ import org.aspectj.weaver.ConcreteTypeMunger; import org.aspectj.weaver.Constants; import org.aspectj.weaver.ISourceContext; import org.aspectj.weaver.JoinPointSignature; -import org.aspectj.weaver.MemberKind; import org.aspectj.weaver.Member; -import org.aspectj.weaver.NameMangler; +import org.aspectj.weaver.MemberKind; import org.aspectj.weaver.NewFieldTypeMunger; import org.aspectj.weaver.ResolvedMember; import org.aspectj.weaver.ResolvedType; @@ -482,10 +481,7 @@ public class SignaturePattern extends PatternNode { private FuzzyBoolean matchesAnnotations(ResolvedMember member,World world) { if (member == null) { - if (member.getName().startsWith(NameMangler.PREFIX)) { - return FuzzyBoolean.NO; - } - world.getLint().unresolvableMember.signal(member.toString(), getSourceLocation()); + // world.getLint().unresolvableMember.signal(member.toString(), getSourceLocation()); return FuzzyBoolean.NO; } annotationPattern.resolve(world); |