public ClassReloadingStrategy reset ( ClassFileLocator classFileLocator , Class < ? > ... type ) throws IOException { if ( type . length > 0 ) { try { strategy . reset ( instrumentation , classFileLocator , Arrays . asList ( type ) ) ; } catch ( ClassNotFoundException exception ) { throw new IllegalArgumentException ( "Cannot locate types " + Arrays . toString ( type ) , exception ) ; } catch ( UnmodifiableClassException exception ) { throw new IllegalStateException ( "Cannot reset types " + Arrays . toString ( type ) , exception ) ; } } return this ; }
Resets all classes to their original definition .