JavaArchive archive = ShrinkWrap.create(JavaArchive.class).add(transformedAsset);
ShrinkWrapClassLoader shrinkWrapClassLoader = new ShrinkWrapClassLoader(ClassLoaderUtils.getBootstrapClassLoader(),
archive);
SeparatedClassLoader separatedClassLoader = new SeparatedClassLoader(shrinkWrapClassLoader, contextClassLoader);
return SeparateInvocator.<Migration, MigrationImpl>invoke(MigrationImpl.class, separatedClassLoader).process(
oldClassName, newClassName, oldClassFile, serverInspection);
} catch (Throwable e) {
throw new IllegalStateException("Cannot migrate transformed inspection back to original name", e);