public @Nullable R parseOneRecord(@NotNull CharSequence output) {
    List<R> records = parse(output);
    clear();
    if (records.isEmpty()) return null;
    return ContainerUtil.getFirstItem(records);
  }
public @Nullable R parseOneRecord(@NotNull CharSequence output)