From: aclement Date: Thu, 10 Mar 2005 17:45:42 +0000 (+0000) Subject: Declare annotation: getAnnotations added. X-Git-Tag: V1_5_0M2~62 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=96f45c808c74e48e461540942c0096c03cebee5a;p=aspectj.git Declare annotation: getAnnotations added. --- diff --git a/weaver/src/org/aspectj/weaver/Member.java b/weaver/src/org/aspectj/weaver/Member.java index f128ec32c..a7db606b4 100644 --- a/weaver/src/org/aspectj/weaver/Member.java +++ b/weaver/src/org/aspectj/weaver/Member.java @@ -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