View Java Class Source Code in JAR file
- Download JD-GUI to open JAR file and explore Java source code file (.class .java)
- Click menu "File → Open File..." or just drag-and-drop the JAR file in the JD-GUI window hamcrest-matcher-generator-endtoend-plain-4.2.3.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.
foo.bar.sample.model.inheritance
├─ foo.bar.sample.model.inheritance.FirstChild.class - [JAR]
├─ foo.bar.sample.model.inheritance.Main.class - [JAR]
├─ foo.bar.sample.model.inheritance.Parent.class - [JAR]
├─ foo.bar.sample.model.inheritance.SecondChild.class - [JAR]
foo.bar.sample.model
├─ foo.bar.sample.model.ParentPojo.class - [JAR]
├─ foo.bar.sample.model.SomeLombokPojo.class - [JAR]
├─ foo.bar.sample.model.SomePojo.class - [JAR]
├─ foo.bar.sample.model.SomePojoInterface.class - [JAR]