public class VisitorsBridge extends Object
Modifier and Type | Field and Description |
---|---|
protected File |
currentFile |
protected JavaVersion |
javaVersion |
Constructor and Description |
---|
VisitorsBridge(Iterable visitors,
List<File> projectClasspath,
SonarComponents sonarComponents) |
VisitorsBridge(Iterable visitors,
List<File> projectClasspath,
SonarComponents sonarComponents,
SymbolicExecutionMode symbolicExecutionMode) |
VisitorsBridge(JavaFileScanner visitor) |
Modifier and Type | Method and Description |
---|---|
protected JavaFileScannerContext |
createScannerContext(CompilationUnitTree tree,
SemanticModel semanticModel,
SonarComponents sonarComponents,
boolean fileParsed) |
void |
endOfAnalysis() |
void |
processRecognitionException(com.sonar.sslr.api.RecognitionException e,
File file) |
void |
setCurrentFile(File currentFile) |
void |
setJavaVersion(JavaVersion javaVersion) |
void |
visitFile(Tree parsedTree) |
protected File currentFile
protected JavaVersion javaVersion
public VisitorsBridge(JavaFileScanner visitor)
public VisitorsBridge(Iterable visitors, List<File> projectClasspath, @Nullable SonarComponents sonarComponents)
public VisitorsBridge(Iterable visitors, List<File> projectClasspath, @Nullable SonarComponents sonarComponents, SymbolicExecutionMode symbolicExecutionMode)
public void setJavaVersion(JavaVersion javaVersion)
protected JavaFileScannerContext createScannerContext(CompilationUnitTree tree, SemanticModel semanticModel, SonarComponents sonarComponents, boolean fileParsed)
public void processRecognitionException(com.sonar.sslr.api.RecognitionException e, File file)
public void setCurrentFile(File currentFile)
public void endOfAnalysis()
Copyright © 2012–2017 SonarSource. All rights reserved.