public static void loadAll(Class<?> clazz) {
        MavenLibrary[] libs = clazz.getDeclaredAnnotationsByType(MavenLibrary.class);
        if (libs == null) {
            return;
        }

        for (MavenLibrary lib : libs) {
            load(lib.groupId(), lib.artifactId(), lib.version(), lib.repo().url());
        }
    }
Resolves all {@link MavenLibrary} annotations on the given class.

@param clazz the class to load libraries for.
helper/src/main/java/me/lucko/helper/maven/LibraryLoader.java