diff options
author | aclement <aclement> | 2008-01-25 19:07:58 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-01-25 19:07:58 +0000 |
commit | 9e0bc9339fbdf019947ec8d51d74e39260a30e8d (patch) | |
tree | 77dc4686d9918462b1e136b9c36986e958ffe9f1 /weaver | |
parent | 9735e48fbe882a819b25362c6c8fbf2bd1102652 (diff) | |
download | aspectj-9e0bc9339fbdf019947ec8d51d74e39260a30e8d.tar.gz aspectj-9e0bc9339fbdf019947ec8d51d74e39260a30e8d.zip |
paramannos: aware of parameter annotation matching
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java b/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java index 86aab4599..fb9debd15 100644 --- a/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java +++ b/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java @@ -168,6 +168,13 @@ public class ReflectionBasedResolvedMemberImpl extends ResolvedMemberImpl { unpackAnnotations(); return super.getAnnotationTypes(); } + + public ResolvedType[][] getParameterAnnotationTypes() { + if (parameterAnnotationTypes==null && annotationFinder!=null) { + parameterAnnotationTypes = annotationFinder.getParameterAnnotationTypes(reflectMember); + } + return parameterAnnotationTypes; + } private void unpackAnnotations() { if (annotationTypes == null && annotationFinder != null) { |