Browse Source

Merge branch '6.0.x'

pull/31374/head
Stéphane Nicoll 1 year ago
parent
commit
ae731fbb78
  1. 2
      spring-core/src/main/java/org/springframework/core/MethodParameter.java

2
spring-core/src/main/java/org/springframework/core/MethodParameter.java

@ -231,6 +231,8 @@ public class MethodParameter { @@ -231,6 +231,8 @@ public class MethodParameter {
* Return the wrapped annotated element.
* <p>Note: This method exposes the annotations declared on the method/constructor
* itself (i.e. at the method/constructor level, not at the parameter level).
* <p>To get the {@link AnnotatedElement} at the parameter level, use
* {@link #getParameter()}.
* @return the Method or Constructor as AnnotatedElement
*/
public AnnotatedElement getAnnotatedElement() {

Loading…
Cancel
Save