This Project is forked from classpy
The GUI part has been removed, and it is now a standalone library for reading .class files.
You can add it directly to your dependencies from the Maven repository.
add dependency to your project
<dependency>
<groupId>tech.medivh</groupId>
<artifactId>shengsheng-classpy</artifactId>
<version>1.1.0</version>
</dependency>
implementation("tech.medivh:shengsheng-classpy:1.1.0")ClassFile parse = new ClassFileParser().parse(Files.readAllBytes(Path.of("classFile")));The version ending with "origin" is the complete classpy source code. Other versions have enhanced the API
example:
classpy version:
<dependency>
<groupId>tech.medivh</groupId>
<artifactId>shengsheng-classpy</artifactId>
<version>1.1.0.origin</version>
</dependency>
shengsheng version:
<dependency>
<groupId>tech.medivh</groupId>
<artifactId>shengsheng-classpy</artifactId>
<version>1.1.0</version>
</dependency>
This project retains the original license and author attribution from the upstream repository.