How to generate a class diagram from android project using papyrus

user2137817 picture user2137817 · Mar 21, 2013 · Viewed 13.1k times · Source

I installed papyrus on eclipse in order to generate the class digram of a android application i worked on but i can't find how to generate that. I searched on the net, i only found how to create a new project from scratch and not what i'm looking for .

Thank you

Answer

VonC picture VonC · Mar 22, 2013

I don't think Papyrus alone would do reverse engineering of Java Code: it is more oriented around Java code generation from UML model.
You have some plugins for reverse, not necessarely maintained though.

However, from this post, using payrus in addition of Modisco could be closer of what you are looking for. See Modisco wiki, and this step-by-step thread.


The OP user2137817 offers another alternative: objectaid:

The ObjectAid UML Explorer is an agile and lightweight code visualization tool for the Eclipse IDE. It shows your Java source code and libraries in live UML class and sequence diagrams that automatically update as your code changes.
The image below is a class diagram of actual source code:

objectaid