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 15:17 Go to next message
Parisa  is currently offline Parisa Friend
Messages: 3
Registered: October 2010
Junior Member

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,
Re: Discovering Java Model from Java Source Code [message #637749 is a reply to message #637732] Mon, 08 November 2010 16:47 Go to previous message
Fabien Giquel is currently offline Fabien GiquelFriend
Messages: 138
Registered: July 2009
Senior Member

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.


R&D Engineer
4, rue du Ch√Ęteau de l'Eraudiere
Previous Topic:MWE Reader
Next Topic:[JSP Component] Help with generation plugin
Goto Forum:

Current Time: Sat Oct 10 12:48:34 GMT 2015

Powered by FUDForum. Page generated in 0.01734 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software