private static boolean possibleToConvert(@NotNull FormatDecode.Validator validator, PsiExpression argument) {
      FormatDecode.Spec spec = validator.getSpec();
      if (spec == null) return false;
      if (spec.conversion() == null ||
          !StringUtil.isEmpty(spec.width()) ||
          !StringUtil.isEmpty(spec.dateSpec()) ||
          !StringUtil.isEmpty(spec.flags()) ||
          !StringUtil.isEmpty(spec.precision())) {
        return false;
      }
      return switch (spec.conversion()) {
        case "s" -> true;
        case "b" -> argument.getType() != null && TypeConversionUtil.isBooleanType(argument.getType());
        case "d" -> argument.getType() != null && TypeConversionUtil.isIntegralNumberType(argument.getType());
        default -> false;
      };
    }
private static boolean possibleToConvert(@NotNull FormatDecode.Validator validator, PsiExpression argument)