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-optional-1.3.2.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.
com.spotify.hamcrest.optional
├─ com.spotify.hamcrest.optional.EmptyOptional.class - [JAR]
├─ com.spotify.hamcrest.optional.OptionalMatchers.class - [JAR]
├─ com.spotify.hamcrest.optional.PresentOptional.class - [JAR]