Is there a way for IntelliJ to locate all the places in my code that define an anonymous class?
I am asking just about finding, not changing. I am not asking about converting to lambdas, lambdas are irrelevant here.
Is there a way for IntelliJ to locate all the places in my code that define an anonymous class?
I am asking just about finding, not changing. I am not asking about converting to lambdas, lambdas are irrelevant here.
Yep. You can use the Structural Search feature.
Edit -> Find -> Search Structurally…
There is already a default template for "Anonymous Classes".
Existing Templates
Java -> Class-based
choose anonymous classes
OK
Find