private static Object fetchField(final Class<?> clazz, final Object object, final String name) throws NoSuchFieldException {
            Field field = clazz.getDeclaredField(name);
            long offset = UNSAFE.objectFieldOffset(field);
            return UNSAFE.getObject(object, offset);
        }
Accesses using sun.misc.Unsafe, supported on Java 9+.

@author Vaishnav Anil (https://github.com/slimjar/slimjar)
helper/src/main/java/me/lucko/helper/maven/URLClassLoaderAccess.java