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
DimondDimond 

Is it possible to find out where a controller is being used through apex

Best Answer chosen by Dimond
Raj VakatiRaj Vakati

 in eclipse, do a search (Ctrl- H) for the class name. as long as you down loaded, visualforce pages, apex classes, triggers, and sControles that should cover the majority (if not all) cases.

Or 

In Developer, Console shows referenced by in addition to dependencies.
Eg, selecting the BlobController class here reveals that BlobPage uses it as a controller


Or you can try using SymbolTable of tooling apis 


https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_symboltable.htm#topic-title

All Answers

Raj VakatiRaj Vakati

 in eclipse, do a search (Ctrl- H) for the class name. as long as you down loaded, visualforce pages, apex classes, triggers, and sControles that should cover the majority (if not all) cases.

Or 

In Developer, Console shows referenced by in addition to dependencies.
Eg, selecting the BlobController class here reveals that BlobPage uses it as a controller


Or you can try using SymbolTable of tooling apis 


https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_symboltable.htm#topic-title
This was selected as the best answer
DimondDimond
Thanks Raj! I hadn't quite make it down the doc that far yet.