docs: public static ClassDescriptor createClassDescriptorFromResourceName(String resourceName) {
          if (!isClassResource(resourceName)) {
              throw new IllegalArgumentException("Resource " + resourceName + " is not a class");
          }
          return createClassDescriptor(resourceName.substring(0, resourceName.length() - 6));
      }