docs: @Trivial
      private static int getPriority(Converter<?> converter) {
          int value = ConfigConstants.DEFAULT_CONVERTER_PRIORITY;
          //get Priority annotations from class only, not from the super-class
          Priority[] priorities = converter.getClass().getDeclaredAnnotationsByType(Priority.class);
          if (priorities != null && priorities.length > 0) {
              Priority priority = priorities[0];
              value = priority.value();
          }
          return value;
      }