|Re: Tracing java model elements back to source code positions [message #575829 is a reply to message #575809]
||Mon, 30 August 2010 08:04
| Gabriel BARBIER
Registered: July 2009
I'm glad that you used to use the java model. So here is some explanation of these attributes removal: these attributes
have been considered as technical (and not java, because it is common to all languages), so it would be common sense to
have them for all kind of source files. It means that we have specific metamodel for such things (to represents source
files), and to link a java model with source model, a composite model has been defined. However, as the work was not
complete for the 0.8 it had not been released. It is still under development, but some experimentation will be soon
available in the SVN repository (it you are interested, we may deliver it to you sooner).
Lom Hillah wrote:
> I found out that in the new extracted java model (from Modisco 0.8),
> some attributes related to original source code positions of the model
> elements are no longer provided (which were in j2se5 model). They are:
> - originalColumnNumber
> - originalLastLineNumber
> - originalLength
> - originalLineNumber
> - originalStartPosition
> We now get originalCompilationUnit and originalClassFile instead.
> What motivated the removal of the aforementioned attributes?
> Since we need them in our transformation project, is there a way to
> retrieve them again using Modisco?
Powered by FUDForum
. Page generated in 0.02240 seconds