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 mockit-example-0.0.1.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.
cn.thinkinginjava.mockit.example
├─ cn.thinkinginjava.mockit.example.MockitExampleApplication.class - [JAR]
cn.thinkinginjava.mockit.example.service
├─ cn.thinkinginjava.mockit.example.service.MockTestService.class - [JAR]
cn.thinkinginjava.mockit.example.model
├─ cn.thinkinginjava.mockit.example.model.ResultDTO.class - [JAR]
cn.thinkinginjava.mockit.example.controller
├─ cn.thinkinginjava.mockit.example.controller.MockTestController.class - [JAR]