]> source.dussan.org Git - aspectj.git/commitdiff
provide access to the sigpattern (Helen)
authoraclement <aclement>
Thu, 20 Oct 2005 10:42:48 +0000 (10:42 +0000)
committeraclement <aclement>
Thu, 20 Oct 2005 10:42:48 +0000 (10:42 +0000)
weaver/src/org/aspectj/weaver/patterns/DeclareAnnotation.java

index 5210b1a9133c6c7db704a9f2f6636adb7d48ae7c..2c504f7479fff181ae732997572e9c10d88ab839 100644 (file)
@@ -288,6 +288,10 @@ public class DeclareAnnotation extends Declare {
                return typePattern;
        }
        
+       public SignaturePattern getSignaturePattern() {
+               return sigPattern;
+       }
+       
        public boolean isStarredAnnotationPattern() {
                if (typePattern!=null) return typePattern.isStarAnnotation();
                if (sigPattern!=null)  return sigPattern.isStarAnnotation();