The documentation [currently uses `AnnotationMethodMatcher`](https://github.com/spring-projects/spring-security/issues/11024#issuecomment-1088408171), but this is incorrect. The code requires a `Pointcut`.
The documentation currently uses
AnnotationMethodMatcher, but this is incorrect. The code requires aPointcut.