]> source.dussan.org Git - aspectj.git/commitdiff
correction to isStar() implementation
authoraclement <aclement>
Mon, 9 Nov 2009 01:32:58 +0000 (01:32 +0000)
committeraclement <aclement>
Mon, 9 Nov 2009 01:32:58 +0000 (01:32 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java

index 3ace8ac1e8b309cfdd03e0e23328ac3b3e78323d..f9c76ee7043f367f73436819599c370502d99278 100644 (file)
@@ -1147,7 +1147,7 @@ public class WildTypePattern extends TypePattern {
        @Override
        public boolean isStar() {
                boolean annPatternStar = annotationPattern == AnnotationTypePattern.ANY;
-               return (isNamePatternStar() && annPatternStar);
+               return (isNamePatternStar() && annPatternStar && dim == 0);
        }
 
        private boolean isNamePatternStar() {