class StackFrameParser {

  public int getLineNumber() {
    int start = getLastColon();
    int end = getCloseParen();
    if (start >= end || start == -1) {
      return INVALID_LINE_NUMBER;
    }

    try {
      return Integer.parseInt(myLine.substring(start + 1, end));
    }
    catch (Exception e) {
      return INVALID_LINE_NUMBER;
    }
  }

  public  StackFrameParser(@NotNull String line);

}