I'm creating a program that will reverse engineer Java Source code into a UML class diagram. I have it reading all of the method names etc already from the source code but I'm wondering if there is any inbuilt Java methods for generating UML such as something like:
UMLdiagram u = new UMLdiagram();
Class c = new Class();
u.addClass(c);
Is there anything like this or are there any external tools I could use to help draw the UML diagram given that I already know methods, class attribute names etc.