---
title: "Is it possible to generate UML diagrams (especially sequence diagrams) from existing Java code?"  
description: "Is it possible to generate UML diagrams (especially sequence diagrams) from existing Java code?"  
author: "Anonymous User"  
published: 2015-07-21  
updated: 2015-07-21  
canonical: https://www.mindstick.com/forum/23358/is-it-possible-to-generate-uml-diagrams-especially-sequence-diagrams-from-existing-java-code  
category: "java"  
tags: ["java"]  
reading_time: 2 minutes  

---

# Is it possible to generate UML diagrams (especially sequence diagrams) from existing Java code?

How can I generate [UML](https://www.mindstick.com/forum/33493/oops-design-principles-what-is-uml-what-is-the-need-of-uml) diagrams (especially [sequence](https://www.mindstick.com/interview/34504/difference-between-identity-vs-sequence) diagrams) from existing [Java](https://www.mindstick.com/articles/12214/web-development-company-in-india-laid-on-the-foundation-of-concrete-java-programming) [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii)?

## Replies

### Reply by Anonymous User

## ObjectAid UML Explorer

Is what I used. It is easily installed from the repository:\
\
Name: ObjectAid UML ExplorerLocation: http://www.objectaid.com/update\
And produces quite nice UML diagrams:\
![Is it possible to generate UML diagrams (especially sequence diagrams) from existing Java code?](https://www.mindstick.com/mindstickforums/75db178a-0cc9-45d5-b799-c573f5d26203/images/f3e079d9-4942-4efe-bc4a-0fd4bd9d2f01.png)\
\
**Description from the website:**\
The ObjectAid UML Explorer is different from other UML tools. It uses the UML notation to show a graphical representation of existing code that is as accurate and up-to-date as your text editor, while being very easy to use. Several unique features make this possible:\
Your source code and libraries are the model that is displayed, they are not reverse engineered into a different format.If you update your code in Eclipse, your diagram is updated as well; there is no need to reverse engineer source code.Refactoring updates your diagram as well as your source code. When you rename a field or move a class, your diagram simply reflects the changes without going out of sync.All diagrams in your Eclipse workspace are updated with refactoring changes as appropriate. If necessary, they are checked out of your version control system.Diagrams are fully integrated into the Eclipse IDE. You can drag Java classes from any other view onto the diagram, and diagram-related information is shown in other views wherever applicable.


---

Original Source: https://www.mindstick.com/forum/23358/is-it-possible-to-generate-uml-diagrams-especially-sequence-diagrams-from-existing-java-code

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
