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

index cf0aa4809d3c7e030ec74dd48569bb9aabcc62b2..9763cf9e7e83654fddaafb762ef192bcff6e2ef6 100644 (file)
@@ -60,6 +60,10 @@ public abstract class TypePattern extends PatternNode {
                this.isVarArgs = isVarArgs;
        }
        
+       public boolean isStarAnnotation() {
+               return annotationPattern == AnnotationTypePattern.ANY;
+       }
+       
        protected TypePattern(boolean includeSubtypes) {
                this(includeSubtypes,false);
        }