From 0a38e35bc83f2077828e1c67306a8cd89b5e078d Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 3 Jun 2008 05:40:16 +0000 Subject: [PATCH] avoid NPE --- .../src/org/aspectj/weaver/patterns/SignaturePattern.java | 8 ++------ 1 file 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); -- 2.39.5