public class InvalidDateValuesCheck extends AbstractMethodDetection
| Modifier and Type | Field and Description |
|---|---|
static String |
JAVA_SQL_DATE |
static String |
JAVA_UTIL_CALENDAR |
static String |
JAVA_UTIL_DATE |
context| Constructor and Description |
|---|
InvalidDateValuesCheck() |
| 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 |
visitNode(Tree tree) |
getSemanticModel, scanFileaddIssue, addIssue, addIssue, addIssueOnFile, reportIssue, reportIssuehasSemantic, leaveNode, scanTree, visitToken, visitTriviapublic static final String JAVA_UTIL_CALENDAR
public static final String JAVA_UTIL_DATE
public static final String JAVA_SQL_DATE
public 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–2016 SonarSource. All rights reserved.