On 31 août 2010, at 19:08, Felipe Ignacio Valverde Campos wrote:

Hi, how can i get the invoked methods into the try{...}/catch{...} ?
and LOC, attributes, etc... from those codes

Hi Felipe

For now, with a Java model imported with inFusion, you can get the list of exceptions caught/thrown in a method, but I don't think you get the java block structure of "try/catch". It would be pretty easy to add such a FAMIX.JavaBlock entity (not to be confused with a Smalltalk block) and define metric/query on this class.

But first, some Java importer needs to handle this case.

It helps to understand your problem if you give more information about your goal. So, what you are trying to do?


--
 Simon