diff --git a/org.springframework.core/src/main/java/org/springframework/core/convert/TypeDescriptor.java b/org.springframework.core/src/main/java/org/springframework/core/convert/TypeDescriptor.java index 5dcdb99e7d8..d9c4f56c28d 100644 --- a/org.springframework.core/src/main/java/org/springframework/core/convert/TypeDescriptor.java +++ b/org.springframework.core/src/main/java/org/springframework/core/convert/TypeDescriptor.java @@ -189,7 +189,7 @@ public class TypeDescriptor { } return cachedFieldAnnotations; } else if (methodParameter != null) { - return methodParameter.getParameterAnnotations(); + return methodParameter.getMethod().getAnnotations(); } else { return null; }