public class CommentLineVisitor extends SubscriptionTreeVisitor
| Constructor and Description |
|---|
CommentLineVisitor(Tree tree,
boolean ignoreHeaderComments) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCommentLineNumber() |
Set<Integer> |
getCommentLines() |
List<Tree.Kind> |
nodesToVisit() |
Set<Integer> |
noSonarLines() |
void |
visitNode(Tree tree) |
getContext, isSubscribed, leaveNode, scanFile, scanTree, visitFile, visitToken, visitTriviapublic CommentLineVisitor(Tree tree, boolean ignoreHeaderComments)
public List<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionTreeVisitorpublic void visitNode(Tree tree)
visitNode in class SubscriptionTreeVisitorpublic int getCommentLineNumber()
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.