When I have a class I believe I no longer use, I usually attempt to delete it and see if there is an error. This strikes me as one of those things that just must be wrong...but I don't see another way. Can someone tell me what I must obviously be missing? :(


sure. 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.


Developer Console shows referenced by in addition to dependencies.

Eg, selecting the BlobController class here reveals that BlobPage uses it as a controller.


  • Does Developer Console show ALL possible references? – Brad Thomas Apr 13 '16 at 13:07
  • @BradThomas not all component types create these bindings – bigassforce Apr 13 '16 at 15:20
  • Ok. thank you! So how would I be sure that deletion of any class is "safe" in the sense that it should not break anything? – Brad Thomas Apr 13 '16 at 17:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.