Collection<Breakpoint> (KtFile file, String fileContent) { Collection<Breakpoint> breakpoints = Lists.newArrayList(); String[] lines = StringUtil.convertLineSeparators(fileContent).split("\n"); for (int i = 0; i < lines.length; i++) { Matcher matcher = BREAKPOINT_PATTERN.matcher(lines[i]); if (matcher.matches()) { breakpoints.add(new Breakpoint(file, i, matcher.group(1))); } } return breakpoints; }