]> source.dussan.org Git - aspectj.git/commitdiff
Declare annotation: getAnnotations added.
authoraclement <aclement>
Thu, 10 Mar 2005 17:45:42 +0000 (17:45 +0000)
committeraclement <aclement>
Thu, 10 Mar 2005 17:45:42 +0000 (17:45 +0000)
weaver/src/org/aspectj/weaver/Member.java

index f128ec32c6635b4539446d76227fe9f8666809be..a7db606b452b0347ab19e7206198133818dff507 100644 (file)
@@ -492,6 +492,10 @@ public class Member implements Comparable, AnnotatedElement {
        public ResolvedTypeX[] getAnnotationTypes() {
                throw new UnsupportedOperationException("You should resolve this member and call hasAnnotation() on the result...");
        }
+       
+       public AnnotationX[] getAnnotations() {
+               throw new UnsupportedOperationException("You should resolve this member and call getAnnotations() on the result...");
+       }
 
        // ---- fields 'n' stuff