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
DILIP VAISHNAVDILIP VAISHNAV 

Is there any way to get all dependent fields/objects of an apex class in salesforce

Hi All,
      I want to create a vf page that show all the dependent fields or objects of an apex class. Can anyone help me on this?
pconpcon
There is no way to do this via Apex.  You may be able do it via a callout on the visual force page to the ToolingAPI then via the ApexClassMember reach into the SymbolTable.  But this would not be an easy task, and I'm not even sure it's 100% possible via the ToolingAPI