How can I (programatically in java) find all calls to a number of interfaces?
Example:
I have interface OrderLocal:
public interface OrderLocal {
void getOrder(long id);
}
Calling class:
public class OrderManager {
public void work() {
orderLocal.getOrder(123);
}
}
I would like to feed my program with a number of interfaces and for each interface get a number of class.method back. In the example above the input would be OrderLocal and the result back would be OrderLocal.getOrder has these calls: OrderManager.work().
I have both the source and I am able to compile the code.
Aucun commentaire:
Enregistrer un commentaire