Hi,
Like Simon said, this information is available neither in FAMIX
nor in the Java exporter. I am pretty sure that the parser
produces the AST information, but I think that the MEMORIA meta-
model (this is the meta-model of inFusion) does not capture this
info. Let us know if you find something.
Perhaps another idea is to use an AST yourself, for example,
produced by srcML, or by PetitJava.
Cheers,
Doru
On 1 Sep 2010, at 19:41, Felipe Ignacio Valverde Campos wrote:
Meanwhile i'm waiting the response of the
inFusion people.
thanks!
El mié, 01-09-2010 a las 15:22 +0200, Simon Denier escribió:
>
> 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
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"What is more important: To be happy, or to make happy?"
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch