See: https://github.com/nicholasdower/voops
VOOPS is a Vector graphics editor written in Java. It was originally released in 2006. It is no longer under active development. The latest release is available as an executable JAR or as a Mac App here: https://github.com/nicholasdower/voops/releases
Filtered is a cross-platform tool for editing SVG filters.
Filtered is written in Java and released under BSD license. It uses Apache Batik for SVG rendering.
There are installers for windows and Mac OSX, and a JavaJAR package for other platforms.
Filtered is targeted for visual editing of SVG filters, and doesn't provide general vector drawing capabilities. It is meant to be used as a companion for a vector editing package, to allow better control over SVG filter creation and editing.
...
Using this tool you can Generate the class diagram for any class inside jar , It also have facility to import class diagram to png or jpg format. This project is under development. Please request the feature if needed.