function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How can I determine where methods / constructs of a public class are used?

From the UI, is there a simple way to identify where the constructs / methods of a public class are used?  In the UI, when viewing an Apex class, there is a "Show Dependencies" button. When clicked, it shows which Apex classes use the currenlty viewed class -- but I'm looking for the inverse of that: where are methods of the current class evoked?

If not the UI, is there a simple method for doing this in the Eclipse IDE?  The only method I can think of is to build a project with all of my Apex code, and then grep the source files outside the IDE -- but it feels like there should be a simpler way.  Thoughts?


USE CASE:  I'm doing some house-cleaning, and finding methods and constructors which I suspect are now deprecated.  If want to remove these from our code base, but need to first confirm that the methods in this public class are not evoked by other classes.