Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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.
Previous Topic:MWE Reader
Next Topic:[JSP Component] Help with generation plugin
Goto Forum:
  


Current Time: Sun Jul 06 08:29:44 EDT 2025

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

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

Back to the top