code: public static <T> T getServiceUserInterfaceMetadata(final RequestContext requestContext, final Class<T> clz) {
          if (requestContext.getFlowScope().contains(PARAMETER_SERVICE_UI_METADATA)) {
              return requestContext.getFlowScope().get(PARAMETER_SERVICE_UI_METADATA, clz);
          }
          return null;
      }
docs: Gets service user interface metadata.
  
  @param <T>            the type parameter
  @param requestContext the request context
  @param clz            the clz
  @return the service user interface metadata