|
|
|
|
Re: EMF Ecore model from java source code [message #801329 is a reply to message #801080] |
Sat, 18 February 2012 07:26 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Miles,
Of course right now, the only way (I think) to do this is to mark up the
source files with appropriate @model annotations, but it would sure be
cool to have a "wizard/tool" that presents just the analyzed Java and
lets you selection "these are the interfaces that are modeled", "these
are the methods that represent feature accessors", "these are methods
that represent operations", and "these are classes that are data
types". Even the case where you have classes in the Java, but want to
generate proper equivalent interface/implementation-class APIs for them
would be nice to handle.
On 17/02/2012 11:21 PM, Miles Parker wrote:
> This is timely for me as I'm wanting to EMF'ify some existing
> infrastructure. I'm wondering if there is any tooling / settings that
> can quickly get you from the Java classes directly to a parallel Ecore
> implementation, i.e. such that you would then have a model that could
> re-produce the origin Java model. What I'm seeing MoDisco product is a
> much deeper introspective model listing all of the getter and setter
> methods for example, but not inferring that those getters and setters
> represent an attribute. Is there a good way to do this kind of
> "simple-minded" conversion?
>
> btw, I love the MoDisco model browser. :)
>
> cheers,
>
> Miles
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.04171 seconds