docs: public static Class<?> loadClassNew(BundleContext context, String klassName) throws ClassNotFoundException {
          // extract package
          String packageName = klassName.substring(0, klassName.lastIndexOf('.'));
          BundleCapability exportedPackage = getExportedPackage(context, packageName);
          if (exportedPackage == null) {
              throw new ClassNotFoundException("No package found with name " + packageName + " while trying to load the class "
                      + klassName + ".");
          }
          return exportedPackage.getRevision().getBundle().loadClass(klassName);
      }