docs: @SuppressWarnings("deprecation")
    private ResourceBundle findResourceBundle(Object o) {
      ResourceBundle result = null;
  
      Parameters p = o.getClass().getAnnotation(Parameters.class);
      if (p != null && ! isEmpty(p.resourceBundle())) {
        result = ResourceBundle.getBundle(p.resourceBundle(), Locale.getDefault());
      } else {
        com.beust.jcommander.ResourceBundle a = o.getClass().getAnnotation(
            com.beust.jcommander.ResourceBundle.class);
        if (a != null && ! isEmpty(a.value())) {
          result = ResourceBundle.getBundle(a.value(), Locale.getDefault());
        }
      }
  
      return result;
    }