JavaCheck, JavaFileScannerpublic class FileLinesVisitor extends SubscriptionVisitor
FileLinesContext.context| Constructor | Description |
|---|---|
FileLinesVisitor(SonarComponents sonarComponents) |
| Modifier and Type | Method | Description |
|---|---|---|
List<Tree.Kind> |
nodesToVisit() |
|
void |
scanFile(JavaFileScannerContext context) |
Method called after parsing and semantic analysis has been done on file.
|
void |
visitNode(Tree tree) |
|
void |
visitToken(SyntaxToken syntaxToken) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasSemantic, leaveNode, scanTree, visitTriviapublic FileLinesVisitor(SonarComponents sonarComponents)
public List<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionVisitorpublic void scanFile(JavaFileScannerContext context)
JavaFileScannerscanFile in interface JavaFileScannerscanFile in class SubscriptionVisitorcontext - Context of analysis containing the parsed tree.public void visitNode(Tree tree)
visitNode in class SubscriptionVisitorpublic void visitToken(SyntaxToken syntaxToken)
visitToken in class SubscriptionVisitorCopyright © 2012–2018 SonarSource. All rights reserved.