public abstract class AbstractMethodDetection extends SubscriptionBaseVisitor
context| Constructor and Description |
|---|
AbstractMethodDetection() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<MethodMatcher> |
getMethodInvocationMatchers() |
List<Tree.Kind> |
nodesToVisit() |
protected void |
onConstructorFound(NewClassTree newClassTree) |
protected void |
onMethodInvocationFound(MethodInvocationTree mit) |
void |
visitNode(Tree tree) |
getSemanticModel, scanFileaddIssue, addIssue, addIssue, addIssueOnFile, reportIssue, reportIssuehasSemantic, leaveNode, scanTree, visitToken, visitTriviapublic List<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionVisitorpublic void visitNode(Tree tree)
visitNode in class SubscriptionVisitorprotected abstract List<MethodMatcher> getMethodInvocationMatchers()
protected void onMethodInvocationFound(MethodInvocationTree mit)
protected void onConstructorFound(NewClassTree newClassTree)
Copyright © 2012–2015 SonarSource. All rights reserved.