Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Discovering Java Model from Java Source Code
Discovering Java Model from Java Source Code [message #637732] Mon, 08 November 2010 10:17 Go to next message
Parisa  is currently offline 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 Go to previous message
Fabien Giquel is currently offline Fabien Giquel
Messages: 138
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
----------------------------------------------------
Previous Topic:MWE Reader
Next Topic:[JSP Component] Help with generation plugin
Goto Forum:
  


Current Time: Wed Jul 23 14:09:57 EDT 2014

Powered by FUDForum. Page generated in 0.01785 seconds