Since FAMIX doesn't represent the internals of a method information I create my own method representation. But it is not integrated with FAMIX.

2012/10/15 Nicolas Anquetil <Nicolas.Anquetil@inria.fr>

but can you import the XML into Moose?

nicolas


On 15/10/12 15:31, Santiago Vidal wrote:
Hi,
I've finally solved my problem using an AST parser. Specifically I find that srcML (http://www.sdml.info/projects/srcml/) parses Java source code and then it creates a XML file. The XML file can also  be transformed into Java source code again. 
You can find my solution in http://ss3.gemstone.com/ss/SPIRIT.html into the category Spirit-JavaParser. 
JavaMethodParser initializeWith: aFamixMethod returns the parsed method (you need to link the model with the root folder that contains the source code)
Cheers

  Santiago


_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--
Santiago Vidal