diff options
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java index 7fbcd12cb..42acca173 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java @@ -225,7 +225,7 @@ public class EclipseSourceType extends ResolvedTypeX.ConcreteName { if (!isAnnotation()) { return false; } else { - throw new RuntimeException("How to implement this? Needs to ask eclipse!"); + return (binding.getAnnotationTagBits() & TagBits.AnnotationRuntimeRetention)!=0; } } |