From 9f44ac1d97dbaa8d571ad6d73746c82a3fe07aae Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 19 Mar 2010 16:14:20 +0000 Subject: [PATCH] 44365: cope with also wanting to advise a method called is --- .../src/org/aspectj/weaver/patterns/PatternParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java index 48d6c9674..8aeb64720 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java @@ -983,7 +983,7 @@ public class PatternParser { } } if (typeIsPattern == null) { - throw new ParserException("ClassType/AspectType/InterfaceType/InnerType/EnumType/AnnotationType/AnonymousType", token); + return null; } if (!maybeEat(")")) { throw new ParserException(")", tokenSource.peek()); -- 2.39.5