File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
spring-messaging/src/main/java/org/springframework/messaging/handler/method
spring-web/src/main/java/org/springframework/web/method Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ public boolean isVoid() {
206
206
* @return the annotation, or {@code null} if none found
207
207
*/
208
208
public <A extends Annotation > A getMethodAnnotation (Class <A > annotationType ) {
209
- return AnnotationUtils .findAnnotation (this .bridgedMethod , annotationType );
209
+ return AnnotationUtils .findAnnotation (this .method , annotationType );
210
210
}
211
211
212
212
/**
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ public boolean isVoid() {
206
206
* @return the annotation, or {@code null} if none found
207
207
*/
208
208
public <A extends Annotation > A getMethodAnnotation (Class <A > annotationType ) {
209
- return AnnotationUtils .findAnnotation (this .bridgedMethod , annotationType );
209
+ return AnnotationUtils .findAnnotation (this .method , annotationType );
210
210
}
211
211
212
212
/**
You can’t perform that action at this time.
0 commit comments