public static void findClassLoaderOrder(final ClassLoader classLoader,
            final ClassLoaderOrder classLoaderOrder) {
        classLoaderOrder.delegateTo(classLoader.getParent(), /* isParent = */ true);
        classLoaderOrder.add(classLoader);
    }
public static void findClassLoaderOrder ( final ClassLoader classLoader , final ClassLoaderOrder classLoaderOrder ) { classLoaderOrder . delegateTo ( classLoader . getParent ( ) , true ) ; classLoaderOrder . add ( classLoader ) ; }
Find the {@link ClassLoader} delegation order for a {@link ClassLoader}.

@param classLoader
the {@link ClassLoader} to find the order for.
@param classLoaderOrder
a {@link ClassLoaderOrder} object to update.