I'm looking for a way to visualize the dependencies between classes in java and to possibly integrate this during build using gradle.
To provide an example I'm looking for a tool that in the following situation
class a{
int a1;
public function a2(){b bclass = new b();}
}
it will show that class a depends on class b.
What I'm trying to gain is to visualize how complex the design is and how we can simplify it.