How to look for Spring’s Framework @interface implementation?

My goal is to understand how @MessageMapping("/hotels/{hotel}") and @DestinationVariable("hotel") works. I wish to implement the matcher somewhere else.

I use free IntelliJ IDEA on Windows, What I’ve tried:

  1. CTRL + B over @MessageMapping leads me to org.springframework.messaging.handler.annotation.MessageMapping
    1. This leads me to org.springframework.util.AntPathMatcher.

However the source code is complex. I am not sure which part of the code that is used by @MessageMapping and @DestinationVariable.

Please feel free to leave any guidance on how to use IntelliJ IDEA to answer this question.