aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2005-01-24 08:49:45 +0000
committeraclement <aclement>2005-01-24 08:49:45 +0000
commit1076c8361630be6441f26d561b20f3116529db96 (patch)
treef9606676ec369861e0383c69bd6b00b5715884e8 /org.aspectj.ajdt.core
parent61cd77beeb1135bc1a0ab9f456e3ff835651844e (diff)
downloadaspectj-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.java2
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;
}
}