I have a package x which contains about 30 classes. The program I am compiling uses 5 classes from package x. How to find the 5 classes which are used during my current compilation at a glance?
My current approach is to inspect the code and see which classes are used/instantiated, this is tedious and slow as I have to manually go through the code. Is there a better approach to find all classes which are used during my current compilation?
I want to press a button and see all classes which are required for the compilation of my program.