| Discovering Java Model from Java Source Code [message #637732] |
Mon, 08 November 2010 10:17  |
Parisa Messages: 3 Registered: October 2010 |
Junior Member |
|
|
Hi,
I would appreciate if you help me with the following questions:
1. The Java to KDM transformation is done with the ATL transformation and through M2M Transformation. From the source code to Java AST you have used the Java Reader. How do you transform a Java AST to Java Model? What kind of transformation is this?
2. For Java to KDM there is an ATL file. What is the "JavaToKdm.asm" for?
Thanks in advance,
Parisa.
|
|
|
| Re: Discovering Java Model from Java Source Code [message #637749 is a reply to message #637732] |
Mon, 08 November 2010 11:47  |
Fabien Giquel Messages: 134 Registered: July 2009 |
Senior Member |
|
|
Hi,
1. The transformation from Java AST to Java Model was hand-coded in
Java. In particular, this transformation resolves java references
(bindings) to obtain a graph model from the tree, and also manages some
java comments localization in model.
2. The .asm file contains some compiled "byte-code" obtained from .atl
file. This byte-code will be interpreted at runtime by ATL engine.
Fabien.
----------------------------------------------------
Fabien GIQUEL
R&D Engineer
Mia-Software
4, rue du Château de l'Eraudiere
44324 NANTES CEDEX 03
----------------------------------------------------
|
|
|
Powered by
FUDForum. Page generated in 0.01556 seconds