docs: public static void findClasspathOrder(final ClassLoader classLoader, final ClasspathOrder classpathOrder,
              final ScanSpec scanSpec, final LogNode log) {
          // Get the wiring for the ClassLoader's bundle
          final Set<Object> bundles = new HashSet<>();
          final Object bundleWiring = ReflectionUtils.getFieldVal(classLoader, "m_wiring", false);
          addBundle(bundleWiring, classLoader, classpathOrder, bundles, scanSpec, log);
  
          // Deal with any other bundles we might be wired to. TODO: Use the ScanSpec to narrow down the list of wires
          // that we follow.
  
          final List<?> requiredWires = (List<?>) ReflectionUtils.invokeMethod(bundleWiring, "getRequiredWires",
                  String.class, null, false);
          if (requiredWires != null) {
              for (final Object wire : requiredWires) {
                  final Object provider = ReflectionUtils.invokeMethod(wire, "getProviderWiring", false);
                  if (!bundles.contains(provider)) {
                      addBundle(provider, classLoader, classpathOrder, bundles, scanSpec, log);
                  }
              }
          }
      }