diff options
author | aclement <aclement> | 2005-03-10 17:31:14 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-03-10 17:31:14 +0000 |
commit | 4676869a3b174ca16e8836a4289a5b8dddbb2a41 (patch) | |
tree | 4ba69ec353ecc1928b391804ada926019dbf3edc /weaver | |
parent | ff284d4bcf64076c85fb0eb4654f4a88342b965e (diff) | |
download | aspectj-4676869a3b174ca16e8836a4289a5b8dddbb2a41.tar.gz aspectj-4676869a3b174ca16e8836a4289a5b8dddbb2a41.zip |
Declare annotation: useful to know if a signature pattern specifies a starred annotation pattern.
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java | 5 |
1 files changed, 5 insertions, 0 deletions
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; + } + } |