title: Call tree of a method: how coverage tools work in Java? Is there an API?
body: <p>I'm looking for a way to list all the methods called (a call tree) by another method, during java runtime. </p>
  
  <p>I'm looking for an api or an output that could allow me to use the data with a script.</p>
  
  <p>Any ideas?</p>
  
  <p>Thx</p>