LinkInTrace (@NotNull String line) { if (line.length() > MAX_LINE_TO_PARSE) { // Cut down line is too long to parse (to prevent freeze) //noinspection AssignmentToMethodParameter line = line.substring(0, MAX_LINE_TO_PARSE); } final Matcher matcher = myPattern.matcher(line); if (!matcher.find()) { return null; } return findLinkInTrace(line, matcher); }