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 and Description |
---|---|
void |
CommentLinesVisitor.analyzeCommentLines(CompilationUnitTree tree) |
int |
LinesOfCodeVisitor.linesOfCode(CompilationUnitTree tree) |
void |
PublicApiChecker.scan(CompilationUnitTree tree) |
void |
SonarSymbolTableVisitor.visitCompilationUnit(CompilationUnitTree tree) |
Modifier and Type | Class and Description |
---|---|
static class |
JavaTree.CompilationUnitTreeImpl |
Modifier and Type | Method and Description |
---|---|
CompilationUnitTree |
DefaultJavaFileScannerContext.getTree() |
Modifier and Type | Method and Description |
---|---|
protected JavaFileScannerContext |
VisitorsBridgeForTests.createScannerContext(CompilationUnitTree tree,
SemanticModel semanticModel,
SonarComponents sonarComponents,
boolean failedParsing) |
protected JavaFileScannerContext |
VisitorsBridge.createScannerContext(CompilationUnitTree tree,
SemanticModel semanticModel,
SonarComponents sonarComponents,
boolean fileParsed) |
Constructor and 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 and Description |
---|---|
static SemanticModel |
SemanticModel.createFor(CompilationUnitTree tree,
List<File> projectClasspath) |
void |
FirstPass.visitCompilationUnit(CompilationUnitTree tree) |
Modifier and Type | Method and Description |
---|---|
CompilationUnitTree |
JavaFileScannerContext.getTree()
Parsed tree of the current file.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeVisitor.visitCompilationUnit(CompilationUnitTree tree) |
void |
BaseTreeVisitor.visitCompilationUnit(CompilationUnitTree tree) |
Copyright © 2012–2016 SonarSource. All rights reserved.