transitive backward dependencies

Answered

Hi, I need to find transitive backward dependencies , it looks like Idea does not do it - I use version Ultimate 2018.1

Example : class CC extends BB that implements AA , class EE has a field of class DD that has a field of class AA. So potentially EE depends on CC - an implementation of AA.

Idea does not find any backward dependency on CC - same as "find usages - Alt-F7"

Is there a way to find what I need in Idea, or could you suggest a tool that does it ?

2
3 comments

Hello,

Unfortunately we have no analysis of this kind, mainly because of its dubious value, i.e the class LinkedList { Object next; } would "depend" on all the other classes because they all extend Object.

0

I do not see why this dubious case is a reason for you not to implement such a feature. Usual thing for this kind of analysis is to filter out JDK classes or to limit search to a module or a folder of a project.

0

Please create a feature request at YouTrack (https://youtrack.jetbrains.com/issues) in IntelliJ IDEA project. Thank you

0

Please sign in to leave a comment.