diff options
author | aclement <aclement> | 2005-01-24 08:49:45 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-01-24 08:49:45 +0000 |
commit | 1076c8361630be6441f26d561b20f3116529db96 (patch) | |
tree | f9606676ec369861e0383c69bd6b00b5715884e8 /org.aspectj.ajdt.core | |
parent | 61cd77beeb1135bc1a0ab9f456e3ff835651844e (diff) | |
download | aspectj-1076c8361630be6441f26d561b20f3116529db96.tar.gz aspectj-1076c8361630be6441f26d561b20f3116529db96.zip |
First bit of implementing annotation checking in EclipseSourceType.
Diffstat (limited to 'org.aspectj.ajdt.core')
-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; } } |