java - How to search for classes annotated with a given annotation in IntelliJ? -
i have project many classes have 1 , same simple name, decorated different annotations.
for example:
package com.example.base; @default public class classname { }
and
package com.example.country; @somecountryspecific public class classname extends com.example.base.classname { }
there many classes these within project , ejb injected within other classes' constructors/setters.
in intellij, when want navigate class, can type class name , ide finds classes , gives list of options. can imagine lists consists of more 15-20 different classes , navigating , finding desired 1 difficult.
however, open class, has name equal classname
and annotated annotation (like @somecountryspecific
).
is possible in intellij?
please note renaming sub-classes not option.
it's not elegant or convenient, might you're looking (?). can use file mask , "text find" search annotations in files named pattern.
Comments
Post a Comment