How do you see what kind of Spring annotations are handled in idea?

for example, I want to know what class @ GetMapping is handled by, and is there any way to quickly find that processing class?


Clone spring-framework project, right select "Find in Path" in the root directory, and search for GetMapping.class globally.

clipboard.png

because annotations need to be judged to match when they are used by reflection, a global search will show the annotation class you are looking for. Class (note that you are looking for a string, not a file).

Menu