]> source.dussan.org Git - aspectj.git/commitdiff
Declare annotation: useful to know if a signature pattern specifies a starred annotat...
authoraclement <aclement>
Thu, 10 Mar 2005 17:31:14 +0000 (17:31 +0000)
committeraclement <aclement>
Thu, 10 Mar 2005 17:31:14 +0000 (17:31 +0000)
weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java

index 983b5409b035278551a9deb9a774823a596dc071..2b0ef859d2509283443762f44263b17454c90a8e 100644 (file)
@@ -582,4 +582,9 @@ public class SignaturePattern extends PatternNode {
                return annotationPattern;
        }
 
+
+       public boolean isStarAnnotation() {
+               return annotationPattern == AnnotationTypePattern.ANY;
+       }
+
 }