code: public static String getResourceType(Class<? extends BoxResource> clazz) {
          BoxResourceType resource = clazz.getAnnotation(BoxResourceType.class);
          if (resource == null) {
              throw new IllegalArgumentException("Provided BoxResource type does not have @BoxResourceType annotation.");
          }
          return resource.value();
      }
docs: Resolves {@link BoxResourceType} for a provided {@link BoxResource} {@link Class}.
  
  @param clazz
  {@link BoxResource} type
  @return resolved {@link BoxResourceType#value()}