private static int getInconsistencyIndex(int inconsistencyIdx, char c, int pos, int idx, @NotNull Character expectedIndentChar) {
      if (inconsistencyIdx != -1) return inconsistencyIdx;
      if (expectedIndentChar == c) return -1;
      return pos + idx;
    }
private static int getInconsistencyIndex(int inconsistencyIdx, char c, int pos, int idx, @NotNull Character expectedIndentChar)