public class CommentLineVisitor extends SubscriptionVisitor
| 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, leaveFile, leaveNode, scanTree, scanTree, visitFilepublic CommentLineVisitor(Tree tree, boolean ignoreHeaderComments)
public List<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionVisitorpublic void visitNode(Tree tree)
visitNode in class SubscriptionVisitorpublic int getCommentLineNumber()
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.