From f376a21458ead647d32320cfbc779b67c7b7521d Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 22 Sep 2008 23:58:59 +0000 Subject: [PATCH] attempted fix for 245734 --- .../compiler/lookup/EclipseResolvedMember.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java index 2ce7b3717..c92ffe8a7 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java @@ -89,14 +89,14 @@ public class EclipseResolvedMember extends ResolvedMemberImpl { // long abits = realBinding.getAnnotationTagBits(); // ensure resolved Annotation[] annos = getEclipseAnnotations(); - if (annos == null) + if (annos == null) { return null; - // TODO errr missing in action - we need to implement this! Probably - // using something like EclipseAnnotationConvertor - - // itself not finished ;) - throw new RuntimeException( - "not yet implemented - please raise an AJ bug"); - // return super.getAnnotations(); + } + AnnotationAJ[] annoAJs = new AnnotationAJ[annos.length]; + for (int i=0;i