A tiny Java agent (<3kb) to dump all classes loaded by the JVM (excluding arrays), made using the instrumentation API.
To use, simply add -javaagent:path/to/classdump-version.jar as a JVM arg. (adding =debug at the end enables logging each class dumped)
Classes are dumped to _classdump, relative to the working directory.
This project builds like any normal Gradle project, just run ./gradlew build.
There are also GitHub Actions setup for this repo, allowing you to get a jar for every commit!