summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2008-09-22 23:58:59 +0000
committeraclement <aclement>2008-09-22 23:58:59 +0000
commitf376a21458ead647d32320cfbc779b67c7b7521d (patch)
treef7db0c6281df8f3c151a21c6395418bf4c7feb06 /org.aspectj.ajdt.core
parent2eadd1a2c662765e63e977b5f3585ab767c1239c (diff)
downloadaspectj-f376a21458ead647d32320cfbc779b67c7b7521d.tar.gz
aspectj-f376a21458ead647d32320cfbc779b67c7b7521d.zip
attempted fix for 245734
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java14
1 files 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<annos.length;i++) {
+ annoAJs[i] = EclipseAnnotationConvertor.convertEclipseAnnotation(annos[i], w, eclipseFactory);
+ }
+ return annoAJs;
}
public AnnotationAJ getAnnotationOfType(UnresolvedType ofType) {