Skip to main content


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
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 16:47 Go to previous message
Fabien Giquel is currently offline Fabien GiquelFriend
Messages: 147
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
rue Nina Simone
44000 NANTES
----------------------------------------------------
Previous Topic:MWE Reader
Next Topic:[JSP Component] Help with generation plugin
Goto Forum:
  


Current Time: Wed Apr 24 13:49:46 GMT 2024

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

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

Back to the top