Skip to content

Commit ae731fb

Browse files
committed
Merge branch '6.0.x'
2 parents 59d123a + 19fd815 commit ae731fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ public Member getMember() {
231231
* Return the wrapped annotated element.
232232
* <p>Note: This method exposes the annotations declared on the method/constructor
233233
* itself (i.e. at the method/constructor level, not at the parameter level).
234+
* <p>To get the {@link AnnotatedElement} at the parameter level, use
235+
* {@link #getParameter()}.
234236
* @return the Method or Constructor as AnnotatedElement
235237
*/
236238
public AnnotatedElement getAnnotatedElement() {

0 commit comments

Comments
 (0)