code: public static void findClassLoaderOrder(final ClassLoader classLoader,
              final ClassLoaderOrder classLoaderOrder) {
          classLoaderOrder.delegateTo(classLoader.getParent(), /* isParent = */ true);
          classLoaderOrder.add(classLoader);
      }
docs: 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.