public class DisallowedConstructorCheck extends AbstractMethodDetection
context| Constructor and Description |
|---|
DisallowedConstructorCheck() |
| Modifier and Type | Method and Description |
|---|---|
protected List<MethodMatcher> |
getMethodInvocationMatchers() |
protected void |
onConstructorFound(NewClassTree newClassTree) |
void |
setAllOverloads(boolean allOverloads) |
void |
setArgumentTypes(String argumentTypes) |
void |
setClassName(String className) |
nodesToVisit, onMethodInvocationFound, visitNodeaddIssue, addIssueOnFile, reportIssue, reportIssue, reportIssuehasSemantic, leaveNode, scanFile, scanTree, visitToken, visitTriviaprotected List<MethodMatcher> getMethodInvocationMatchers()
getMethodInvocationMatchers in class AbstractMethodDetectionprotected void onConstructorFound(NewClassTree newClassTree)
onConstructorFound in class AbstractMethodDetectionpublic void setClassName(String className)
public void setArgumentTypes(String argumentTypes)
public void setAllOverloads(boolean allOverloads)
Copyright © 2012–2017 SonarSource. All rights reserved.