From 4676869a3b174ca16e8836a4289a5b8dddbb2a41 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 10 Mar 2005 17:31:14 +0000 Subject: [PATCH] Declare annotation: useful to know if a signature pattern specifies a starred annotation pattern. --- weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java | 5 +++++ 1 file changed, 5 insertions(+) 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; + } + } -- 2.39.5