code: public ClassReloadingStrategy reset(Class<?>... type) throws IOException {
          return type.length == 0
                  ? this
                  : reset(ClassFileLocator.ForClassLoader.of(type[0].getClassLoader()), type);
      }
docs: Resets all classes to their original definition while using the first type's class loader as a class file locator.
  
  @param type The types to reset.
  @return This class reloading strategy.
  @throws IOException If a class file locator causes an IO exception.