if (cppComments.containsKey(lineNo)) { comment = cppComments.get(lineNo); lineBefore = line.substring(0, comment.getStartColNo()); lineBefore = line.substring(0, comment.getStartColNo());
final List<JavadocTag> tags = new ArrayList<>(); int currentLine = comment.getStartLineNo() - 1; final int startColumnNumber = comment.getStartColNo();
/** * Appends the suppressions in a collection of comments to the full * set of suppression tags. * @param comments the set of comments. */ private void tagSuppressions(Collection<TextBlock> comments) { for (TextBlock comment : comments) { final int startLineNo = comment.getStartLineNo(); final String[] text = comment.getText(); tagCommentLine(text[0], startLineNo, comment.getStartColNo()); for (int i = 1; i < text.length; i++) { tagCommentLine(text[i], startLineNo + i, 0); } } }
int col = blockTagMatcher.start(1) - 1; if (i == 0) { col += aCmt.getStartColNo(); int col = commentOffset + (tagMatcher.start(1) - 1); if (i == 0) { col += aCmt.getStartColNo();
if (cppComments.containsKey(lineNo)) { comment = cppComments.get(lineNo); lineBefore = line.substring(0, comment.getStartColNo()); lineBefore = line.substring(0, comment.getStartColNo());
final List<JavadocTag> tags = new ArrayList<>(); int currentLine = comment.getStartLineNo() - 1; final int startColumnNumber = comment.getStartColNo();
final List<JavadocTag> tags = new LinkedList<>(); int current = comment.getStartLineNo() - 1; final int start = comment.getStartColNo(); for (int line = 0; line < lines.length; line = line + 1) { current = current + 1;
final List<JavadocTag> tags = new LinkedList<>(); int current = comment.getStartLineNo() - 1; final int start = comment.getStartColNo(); for (int line = 0; line < lines.length; line = line + 1) { current = current + 1;
/** * Appends the suppressions in a collection of comments to the full * set of suppression tags. * @param comments the set of comments. */ private void tagSuppressions(Collection<TextBlock> comments) { for (TextBlock comment : comments) { final int startLineNo = comment.getStartLineNo(); final String[] text = comment.getText(); tagCommentLine(text[0], startLineNo, comment.getStartColNo()); for (int i = 1; i < text.length; i++) { tagCommentLine(text[i], startLineNo + i, 0); } } }
int col = blockTagMatcher.start(1) - 1; if (i == 0) { col += aCmt.getStartColNo(); int col = commentOffset + (tagMatcher.start(1) - 1); if (i == 0) { col += aCmt.getStartColNo();