From 9e0bc9339fbdf019947ec8d51d74e39260a30e8d Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 25 Jan 2008 19:07:58 +0000 Subject: [PATCH] paramannos: aware of parameter annotation matching --- .../weaver/reflect/ReflectionBasedResolvedMemberImpl.java | 7 +++++++ 1 file changed, 7 insertions(+) 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) { -- 2.39.5