@Nonnull
    public static <T> T generate(@Nonnull Class<T> clazz, @Nonnull ConfigurationNode node) {
        try {
            return classMapper(clazz).bindToNew().populate(node);
        } catch (ObjectMappingException e) {
            throw new ConfigurationException(e);
        }
    }
Misc utilities for working with Configurate
helper/src/main/java/me/lucko/helper/config/ConfigFactory.java