Transform Java code to UML class diagram.