code: public static EndpointHelpDto fromResourceClass(Class<? extends AbstractResource> resourceClass) {
          Path path = resourceClass.getAnnotation(Path.class);
          Description description = resourceClass.getAnnotation(Description.class);
  
          if (path != null && description != null) {
              EndpointHelpDto result = new EndpointHelpDto();
  
              result.setDescription(description.value());
              result.setEndpoint(path.value());
              return result;
          } else {
              return null;
          }
      }
docs: Creates an endpoint help DTO from a resource class.
  
  @param   resourceClass  The resource class.
  
  @return  The endpoint help DTO.