JavaCheck
, JavaFileScanner
public class CommentLinesVisitor extends SubscriptionVisitor
context
Constructor | Description |
---|---|
CommentLinesVisitor() |
Modifier and Type | Method | Description |
---|---|---|
void |
analyzeCommentLines(CompilationUnitTree tree) |
|
int |
commentLinesMetric() |
|
List<Tree.Kind> |
nodesToVisit() |
|
Set<Integer> |
noSonarLines() |
|
void |
visitToken(SyntaxToken syntaxToken) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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–2018 SonarSource. All rights reserved.