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, visitTrivia
public List<Tree.Kind> nodesToVisit()
nodesToVisit
in class SubscriptionVisitor
public void analyzeCommentLines(CompilationUnitTree tree)
public void visitToken(SyntaxToken syntaxToken)
visitToken
in class SubscriptionVisitor
public int commentLinesMetric()
Copyright © 2012–2016 SonarSource. All rights reserved.