public abstract class SubscriptionVisitor extends Object implements JavaFileScanner, org.sonar.squidbridge.api.CodeVisitor
| Modifier and Type | Field and Description |
|---|---|
protected JavaFileScannerContext |
context |
| Constructor and Description |
|---|
SubscriptionVisitor() |
| Modifier and Type | Method and Description |
|---|---|
SemanticModel |
getSemanticModel() |
boolean |
hasSemantic() |
protected boolean |
isSubscribed(Tree tree) |
void |
leaveNode(Tree tree) |
abstract List<Tree.Kind> |
nodesToVisit() |
void |
scanFile(JavaFileScannerContext context) |
protected void |
scanTree(Tree tree) |
void |
visitNode(Tree tree) |
void |
visitToken(SyntaxToken syntaxToken) |
protected void |
visitTokens(CompilationUnitTree compilationUnitTree) |
void |
visitTrivia(SyntaxTrivia syntaxTrivia) |
protected JavaFileScannerContext context
public void visitNode(Tree tree)
public void leaveNode(Tree tree)
public void visitToken(SyntaxToken syntaxToken)
public void visitTrivia(SyntaxTrivia syntaxTrivia)
public void scanFile(JavaFileScannerContext context)
scanFile in interface JavaFileScannerprotected void scanTree(Tree tree)
protected void visitTokens(CompilationUnitTree compilationUnitTree)
protected boolean isSubscribed(Tree tree)
public SemanticModel getSemanticModel()
public boolean hasSemantic()
Copyright © 2012–2015 SonarSource. All rights reserved.