docs: public static Resource getResourceByType(int resourceType) {
      for (Resource resource : Resources.values()) {
        if (resource.resourceType() == resourceType) {
          return resource;
        }
      }
      return null;
    }