Get dependents services programmatically

I need to build a list of all the dependents of a bunch of services. I would like to do that automatically, by running a service or some java code. How can I do that ? I searched on the IS for some getDependents service but I didn’t found any.

BTW, is there some way to get programmatically the filters & executed services of a trigger ?

I found the service to get the dependencies : wm.server.ns.dependency:getDependent