Home > Net >  IntelliJ analyze dependancies
IntelliJ analyze dependancies

Time:02-10

I have a very complex spring boot app which has maven dependancies(100 ) and they further more dependancies for each of the dependancy. Total compiled size would be 1Gb.

I have a class Class1 in a library X. This library X is transient dependency to the current module A. I do not know how they are related.

I need to find out if the Class1 is being indirectly referenced from the current module A.

Options i tried:

  1. I went to the class Class1 and tried to find the call hierarchy to some methods and i found ~1000 matches and it is very hard to go each branch and investigate. Intellij only brings the depth 2 info so far, any more depth, it has to do further query.
  2. Tried 'code' > 'Analyze code' > dependancies, But it does not bring any meaningful information.
  3. Data flow to here also did not work

The dependancy link could be like this A > b> c> d>e>f>g>h>x.

What is the best way to find out the relationship between these two modules?

CodePudding user response:

  •  Tags:  
  • Related