Visualizing Java [message #1706937] |
Tue, 01 September 2015 01:35  |
Eclipse User |
|
|
|
Hi,
I probably should know this but is there a (simple) way to visualize java project(s) structure (packages and classes etc) and their dependecies? Ie. can I generate a model of the project structure?
BR
Patrik
|
|
|
|
|
|
Re: Visualizing Java [message #1707297 is a reply to message #1707278] |
Thu, 03 September 2015 10:25   |
Eclipse User |
|
|
|
Hi,
The ADL4Eclipse extra-component provides a profile for OSGI + Eclipse artifacts, and can reverse an Eclipse workspace or installation into a (stereotyped) UML Model. It provides an high level overview of the plug-ins, dependencies and extensions. However, it doesn't go too deep in the details. Especially, Java code is not reversed (I think it stops to exported packages). That's still work-in-progress, I don't know if the latest improvements are publicly available yet, or still pending on Gerrit. And we applied it on Eclipse plug-ins, which are not exactly Java projects, so I don't know how well it's gonna work with that.
There is also an extra-component to reverse Java code in Papyrus, but it is unmaintained, and I think it can only reverse the structure (Package, Classes, Attributes, Methods, but not the implementation of the methods). I'm not sure about that.
The Eclipse UMLGen project might also contain some tools for Java (Most likely a code generator, not sure about reverse tools)
HTH,
Camille
|
|
|
Re: Visualizing Java [message #1707569 is a reply to message #1707297] |
Mon, 07 September 2015 08:42   |
Eclipse User |
|
|
|
Camille Letavernier wrote on Thu, 03 September 2015 16:25 Hi,
There is also an extra-component to reverse Java code in Papyrus, but it is unmaintained, and I think it can only reverse the structure (Package, Classes, Attributes, Methods, but not the implementation of the methods). I'm not sure about that.
Thanks Camille, do you know the name of the extra component? Might be worth a look.
|
|
|
|
Re: Visualizing Java [message #1707603 is a reply to message #1707569] |
Mon, 07 September 2015 15:17  |
Eclipse User |
|
|
|
Patrik Nandorf a écrit :
> Camille Letavernier wrote on Thu, 03 September 2015 16:25
>> Hi,
>> There is also an extra-component to reverse Java code in Papyrus, but
>> it is unmaintained, and I think it can only reverse the structure
>> (Package, Classes, Attributes, Methods, but not the implementation of
>> the methods). I'm not sure about that.
>
>
> Thanks Camille, do you know the name of the extra component? Might be
> worth a look.
Hi,
This components are maintained. I have check installation today, and
they still work.
The documentation can be found in the wiki (and in Eclipse help once
installed) :
- http://wiki.eclipse.org/Java_reverse_engineering
- http://wiki.eclipse.org/Java_Code_Generation
Hope this elp,
Cedric
|
|
|
Powered by
FUDForum. Page generated in 0.04965 seconds