From: aclement Date: Thu, 10 Mar 2005 17:31:14 +0000 (+0000) Subject: Declare annotation: useful to know if a signature pattern specifies a starred annotat... X-Git-Tag: V1_5_0M2~73 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4676869a3b174ca16e8836a4289a5b8dddbb2a41;p=aspectj.git Declare annotation: useful to know if a signature pattern specifies a starred annotation pattern. --- diff --git a/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java b/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java index 983b5409b..2b0ef859d 100644 --- a/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java +++ b/weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java @@ -582,4 +582,9 @@ public class SignaturePattern extends PatternNode { return annotationPattern; } + + public boolean isStarAnnotation() { + return annotationPattern == AnnotationTypePattern.ANY; + } + }