int (@NotNull String line, int startIndex) { int nextIndex = line.indexOf(SEPARATOR, startIndex); if (nextIndex == -1) { throw new IllegalArgumentException("not found separator \"" + SEPARATOR + "\", with startIndex=" + startIndex + ", in line: " + line); } return nextIndex; }