You need to sign in to do that
Don't have an account?

query all the Class methods from Apex class
Hi,
I am using SOQL query to retrive all the class methods,
SOQL query ========= "select id,name,Body from apexclass''
Can someone help me to retrive all the class methods and variables using SOQL
Thanks
I am using SOQL query to retrive all the class methods,
SOQL query ========= "select id,name,Body from apexclass''
Can someone help me to retrive all the class methods and variables using SOQL
Thanks
Instead , get the apex class body. And apply some logic to find out method names.
For example.
1. If your method name has specific prefix or suffix - search that string
2. Search string '} G' ==> Global methods start with G
3. Search string '} P' ==> Public / private methods start with P
You can do this exercise using apex code and not using SOQL query.
If this answers your query please mark this question as a solved so that it can be filtered out from unsolved questions.
you have two Option's to get the list of method and other information of your each class
1 and u lots of logic to find your effective solution
2
this is an easy way which I will recommend you
Tooling API
u have to just write small code for authentication and then enjoy hit on google u will get a direct code for that
I hope this was helpful for you
Thank you
Avaneesh Singh
if you want to go with the first solution then let me know I can hard code for you what ever u want
Can you please help out with hard code
Sure give me some time I will write hard code for you.
I am waiting for your hard cord.
Can u please help me in dat.
Thanks in Advance.