private static @Nullable String createIndent(int nSpaces, int nTabs, @NotNull IndentType indentType, int tabSize) {
      if (indentType == IndentType.SPACES) return " ".repeat(nSpaces + nTabs * tabSize);
      if (nSpaces % tabSize != 0) return null;
      return "\t".repeat(nTabs + nSpaces / tabSize);
    }
private static @Nullable String createIndent(int nSpaces, int nTabs, @NotNull IndentType indentType, int tabSize)