code: private static String getEndpointName(Field field) {
          if (field.getAnnotation(CitrusEndpoint.class) != null && StringUtils.hasText(field.getAnnotation(CitrusEndpoint.class).name())) {
              return field.getAnnotation(CitrusEndpoint.class).name();
          }
  
          return field.getName();
      }
docs: Either reads {@link CitrusEndpoint} name property or constructs endpoint name from field name.
  @param field
  @return