public class DefaultEncodingUsageCheck extends AbstractMethodDetection
context| Constructor and Description |
|---|
DefaultEncodingUsageCheck() |
| Modifier and Type | Method and Description |
|---|---|
protected List<MethodMatcher> |
getMethodInvocationMatchers() |
List<Tree.Kind> |
nodesToVisit() |
protected void |
onConstructorFound(NewClassTree newClassTree) |
protected void |
onMethodInvocationFound(MethodInvocationTree mit) |
void |
scanFile(JavaFileScannerContext context) |
void |
visitNode(Tree tree) |
getSemanticModeladdIssue, addIssue, addIssue, addIssueOnFile, reportIssue, reportIssuehasSemantic, leaveNode, scanTree, visitToken, visitTriviapublic void scanFile(JavaFileScannerContext context)
scanFile in interface JavaFileScannerscanFile in class SubscriptionBaseVisitorpublic List<Tree.Kind> nodesToVisit()
nodesToVisit in class AbstractMethodDetectionpublic void visitNode(Tree tree)
visitNode in class AbstractMethodDetectionprotected List<MethodMatcher> getMethodInvocationMatchers()
getMethodInvocationMatchers in class AbstractMethodDetectionprotected void onMethodInvocationFound(MethodInvocationTree mit)
onMethodInvocationFound in class AbstractMethodDetectionprotected void onConstructorFound(NewClassTree newClassTree)
onConstructorFound in class AbstractMethodDetectionCopyright © 2012–2015 SonarSource. All rights reserved.