]> source.dussan.org Git - aspectj.git/commitdiff
First bit of implementing annotation checking in EclipseSourceType.
authoraclement <aclement>
Mon, 24 Jan 2005 08:49:45 +0000 (08:49 +0000)
committeraclement <aclement>
Mon, 24 Jan 2005 08:49:45 +0000 (08:49 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java

index 7fbcd12cb52614d149f1e1471c89c6c999ca87ae..42acca17390403e6964e3ec0bd9544c9d234c9cb 100644 (file)
@@ -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;        
            }
        }