| Package | Description |
|---|---|
| org.sonar.java | |
| org.sonar.java.ast.visitors | |
| org.sonar.java.cfg | |
| org.sonar.java.matcher | |
| org.sonar.java.model | |
| org.sonar.java.model.declaration | |
| org.sonar.java.resolve | |
| org.sonar.java.se | |
| org.sonar.java.se.checks | |
| org.sonar.plugins.java.api | |
| org.sonar.plugins.java.api.semantic |
Provides interfaces to represent Java source code as syntax tree.
|
| org.sonar.plugins.java.api.tree |
Provides interfaces to represent Java source code as syntax tree.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JavaFilesCache.visitMethod(MethodTree tree) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
AccessorsUtils.isAccessor(ClassTree classTree,
MethodTree methodTree) |
static CognitiveComplexityVisitor.Result |
CognitiveComplexityVisitor.methodComplexity(MethodTree methodTree) |
void |
StatementVisitor.visitMethod(MethodTree tree) |
void |
SonarSymbolTableVisitor.visitMethod(MethodTree tree) |
void |
PublicApiChecker.visitMethod(MethodTree tree) |
void |
ComplexityVisitor.visitMethod(MethodTree tree) |
| Modifier and Type | Method and Description |
|---|---|
static CFG |
CFG.build(MethodTree tree) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MethodMatcherCollection.anyMatch(MethodTree method) |
boolean |
MethodMatcher.matches(MethodTree methodTree) |
| Modifier and Type | Method and Description |
|---|---|
List<Tree> |
DefaultJavaFileScannerContext.getMethodComplexityNodes(ClassTree enclosingClass,
MethodTree methodTree) |
| Modifier and Type | Class and Description |
|---|---|
class |
MethodTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
MethodTree |
JavaSymbol.MethodJavaSymbol.declaration() |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeAndReferenceSolver.visitMethod(MethodTree tree) |
void |
FirstPass.visitMethod(MethodTree tree) |
| Modifier and Type | Method and Description |
|---|---|
void |
SymbolicExecutionVisitor.execute(MethodTree methodTree) |
void |
CheckerDispatcher.init(MethodTree methodTree,
CFG cfg) |
MethodBehavior |
ExplodedGraphWalker.visitMethod(MethodTree tree) |
MethodBehavior |
ExplodedGraphWalker.visitMethod(MethodTree tree,
MethodBehavior methodBehavior) |
| Modifier and Type | Method and Description |
|---|---|
void |
SECheck.init(MethodTree methodTree,
CFG cfg) |
void |
NullDereferenceCheck.init(MethodTree methodTree,
CFG cfg) |
void |
NonNullSetToNullCheck.init(MethodTree tree,
CFG cfg) |
void |
NoWayOutLoopCheck.init(MethodTree tree,
CFG cfg) |
void |
InvariantReturnCheck.init(MethodTree methodTree,
CFG cfg) |
| Modifier and Type | Method and Description |
|---|---|
List<Tree> |
JavaFileScannerContext.getMethodComplexityNodes(ClassTree enclosingClass,
MethodTree methodTree)
Deprecated.
use
JavaFileScannerContext.getComplexityNodes(Tree) instead |
| Modifier and Type | Method and Description |
|---|---|
MethodTree |
Symbol.MethodSymbol.declaration() |
| Modifier and Type | Method and Description |
|---|---|
void |
TreeVisitor.visitMethod(MethodTree tree) |
void |
BaseTreeVisitor.visitMethod(MethodTree tree) |
Copyright © 2012–2017 SonarSource. All rights reserved.