Hi,
Unlike CA, you don't need to access remotly to the agent to add instrumentation on such method. You can just add a custom instrumentation point from the GUI. Please refer to the following for additional details (https://docs.appdynamics.com/display/PRO41/Information+Points#InformationPoints-CreatingInformationPoints)
Have a nice day
Aymen