@Beta
public interface JavaFileScannerContext
| Modifier and Type | Method and Description |
|---|---|
void |
addIssue(int line,
org.sonar.api.rule.RuleKey ruleKey,
String message) |
void |
addIssue(Tree tree,
org.sonar.squidbridge.api.CheckMessage checkMessage) |
void |
addIssue(Tree tree,
org.sonar.api.rule.RuleKey ruleKey,
String message) |
void |
addIssueOnFile(org.sonar.api.rule.RuleKey ruleKey,
String message) |
void |
addNoSonarLines(Set<Integer> lines) |
int |
getComplexity(Tree tree) |
File |
getFile() |
String |
getFileKey() |
int |
getMethodComplexity(ClassTree enclosingClass,
MethodTree methodTree) |
Object |
getSemanticModel() |
CompilationUnitTree |
getTree() |
CompilationUnitTree getTree()
void addIssueOnFile(org.sonar.api.rule.RuleKey ruleKey,
String message)
void addIssue(int line,
org.sonar.api.rule.RuleKey ruleKey,
String message)
void addIssue(Tree tree, org.sonar.squidbridge.api.CheckMessage checkMessage)
String getFileKey()
File getFile()
int getComplexity(Tree tree)
int getMethodComplexity(ClassTree enclosingClass, MethodTree methodTree)
Copyright © 2012–2015 SonarSource. All rights reserved.