Using Eclipse IDE, I'd like to get a list of all "things" annotated with a specific Java annotation.
For instance, I would like to get a list of all methods annotated with @Bean in Spring Framework's source code or JARs.
I'm aware that it's possible to look up annotation usage programmatically, as pointed out in this question. Instead I would like to look up annotation usage at development time within my Eclipse IDE.
Try: CTRL-H -> File Search, check Case Sensitive and Regular expression, and input: @[A-Z] for Containing text.
Press Ctrl + Shift + G.
You can search for references in Eclipse. Click the annotation name, then right-click, select "References" and pick a scope for your search.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With