简体   繁体   中英

How do I find usages of my class where it is used as a certain implemented interface?

Consider the following example:

class Foo implements Comparable<Foo> {
...
}

How do I find the places where Foo is used as a Comparable ?

Edit: I have opened a feature request: https://youtrack.jetbrains.com/issue/IDEA-209540

Try searching through command + shift + f and enter Comparable<Foo> as input. it will point out all the instances where it occurred.

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM