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 snowflake-1.0.1.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.
com.twitter.snowflake.worker
├─ com.twitter.snowflake.worker.SimpleWorkerIdAssigner.class - [JAR]
├─ com.twitter.snowflake.worker.WorkerIdAssigner.class - [JAR]
com.twitter.snowflake.exception
├─ com.twitter.snowflake.exception.SnowFlakeException.class - [JAR]
com.twitter.snowflake.sequence
├─ com.twitter.snowflake.sequence.BitsAllocator.class - [JAR]
├─ com.twitter.snowflake.sequence.IdSequence.class - [JAR]
├─ com.twitter.snowflake.sequence.SnowFlakeSequence.class - [JAR]
com.twitter.snowflake.support
├─ com.twitter.snowflake.support.IdSequenceFactory.class - [JAR]