code: public static ResourceClass rootResourceFromAnnotations(Class<?> clazz) {
          ResourceClass resourceClass = fromAnnotations(false, clazz);
          return resourceClass;
      }
docs: Build metadata from annotations on classes and methods
  
  @return