code: public static String convertResourcePathToClassName(String resourcePath) {
          Assert.notNull(resourcePath, "Resource path must not be null");
          return resourcePath.replace(PATH_SEPARATOR, PACKAGE_SEPARATOR);
      }
docs: Convert a "/"-based resource path to a "."-based fully qualified class name.
  
  @param resourcePath the resource path pointing to a class
  @return the corresponding fully qualified class name