public class CommentLinesVisitor extends SubscriptionVisitor
| Modifier and Type | Class and Description |
|---|---|
static class |
CommentLinesVisitor.JavaCommentAnalyser |
context| Constructor and Description |
|---|
CommentLinesVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
analyzeCommentLines(CompilationUnitTree tree) |
int |
commentLinesMetric() |
List<Tree.Kind> |
nodesToVisit() |
Set<Integer> |
noSonarLines() |
void |
visitToken(SyntaxToken syntaxToken) |
hasSemantic, leaveNode, scanFile, scanTree, visitNode, visitTriviapublic List<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionVisitorpublic void analyzeCommentLines(CompilationUnitTree tree)
public void visitToken(SyntaxToken syntaxToken)
visitToken in class SubscriptionVisitorpublic int commentLinesMetric()
Copyright © 2012–2017 SonarSource. All rights reserved.