Package | Description |
---|---|
org.sonar.java.ast.visitors | |
org.sonar.java.model | |
org.sonar.java.resolve | |
org.sonar.plugins.java.api | |
org.sonar.plugins.java.api.tree |
Provides interfaces to represent Java source code as syntax tree.
|
Modifier and Type | Method | Description |
---|---|---|
void |
CommentLinesVisitor.analyzeCommentLines(CompilationUnitTree tree) |
|
static int |
CognitiveComplexityVisitor.compilationUnitComplexity(CompilationUnitTree cut) |
|
void |
PublicApiChecker.scan(CompilationUnitTree tree) |
|
void |
SonarSymbolTableVisitor.visitCompilationUnit(CompilationUnitTree tree) |
Modifier and Type | Class | Description |
---|---|---|
static class |
JavaTree.CompilationUnitTreeImpl |
Modifier and Type | Method | Description |
---|---|---|
CompilationUnitTree |
DefaultJavaFileScannerContext.getTree() |
Modifier and Type | Method | Description |
---|---|---|
protected JavaFileScannerContext |
VisitorsBridge.createScannerContext(CompilationUnitTree tree,
SemanticModel semanticModel,
SonarComponents sonarComponents,
boolean fileParsed) |
|
protected JavaFileScannerContext |
VisitorsBridgeForTests.createScannerContext(CompilationUnitTree tree,
SemanticModel semanticModel,
SonarComponents sonarComponents,
boolean failedParsing) |
Constructor | Description |
---|---|
DefaultJavaFileScannerContext(CompilationUnitTree tree,
File file,
SemanticModel semanticModel,
SonarComponents sonarComponents,
JavaVersion javaVersion,
boolean fileParsed) |
|
TestJavaFileScannerContext(CompilationUnitTree tree,
File file,
SemanticModel semanticModel,
SonarComponents sonarComponents,
JavaVersion javaVersion,
boolean failedParsing) |
Modifier and Type | Method | Description |
---|---|---|
static SemanticModel |
SemanticModel.createFor(CompilationUnitTree tree,
SquidClassLoader classLoader) |
|
void |
FirstPass.visitCompilationUnit(CompilationUnitTree tree) |
Modifier and Type | Method | Description |
---|---|---|
CompilationUnitTree |
JavaFileScannerContext.getTree() |
Parsed tree of the current file.
|
Modifier and Type | Method | Description |
---|---|---|
void |
BaseTreeVisitor.visitCompilationUnit(CompilationUnitTree tree) |
|
void |
TreeVisitor.visitCompilationUnit(CompilationUnitTree tree) |
Copyright © 2012–2018 SonarSource. All rights reserved.