ZISScanner

The ZISScanner (ZipInputStream Scanner), as the name suggests, scans the literal jar file with a ZipInputStream; recursing through every file entry while checking the name to see if it's a class, and if the package isn't on the exclusion list. If all is well, load the class through the main classes classloader.

Functions

Link copied to clipboard
open fun getClasses(@NotNull main: @NotNull Class<out Any>, @NotNull pckg: @NotNull String): Set<Class<out Any>>
Get all the classes in the main class's classloader, which are in a specific package, and aren't in any of the excluded packages.