From 96f45c808c74e48e461540942c0096c03cebee5a Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 10 Mar 2005 17:45:42 +0000 Subject: [PATCH] Declare annotation: getAnnotations added. --- weaver/src/org/aspectj/weaver/Member.java | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5