public class DisallowedMethodCheck extends AbstractMethodDetection
context| Constructor and Description |
|---|
DisallowedMethodCheck() |
| Modifier and Type | Method and Description |
|---|---|
protected List<MethodMatcher> |
getMethodInvocationMatchers() |
protected void |
onMethodInvocationFound(MethodInvocationTree mit) |
void |
setArgumentTypes(String argumentTypes) |
void |
setClassName(String className) |
void |
setMethodName(String methodName) |
nodesToVisit, onConstructorFound, visitNodegetSemanticModel, scanFileaddIssue, addIssue, addIssue, addIssueOnFile, reportIssue, reportIssuehasSemantic, leaveNode, scanTree, visitToken, visitTriviaprotected List<MethodMatcher> getMethodInvocationMatchers()
getMethodInvocationMatchers in class AbstractMethodDetectionprotected void onMethodInvocationFound(MethodInvocationTree mit)
onMethodInvocationFound in class AbstractMethodDetectionpublic void setClassName(String className)
public void setMethodName(String methodName)
public void setArgumentTypes(String argumentTypes)
Copyright © 2012–2016 SonarSource. All rights reserved.