code: @PreAuthorize("hasRole(@configHolder.getSuperAdminRoleName())")
      public Set<RequestMappingInfo> getEndpoints(RequestMappingHandlerMapping requestMappingHandlerMapping) {
  
          if (requestMappingHandlerMapping.getHandlerMethods() != null) {
              return requestMappingHandlerMapping.getHandlerMethods().keySet();
          }
  
          return null;
      }
docs: Returns all RequestMappingInfo instances from type and
  method-level @RequestMapping annotations in @Controller classes.
  
  @param requestMappingHandlerMapping The RequestMappingInfo collection of Spring
  @return A set of RequestMappingInfo