Class DateAndTimesCheck
java.lang.Object
org.sonar.java.ast.visitors.SubscriptionVisitor
org.sonar.plugins.java.api.IssuableSubscriptionVisitor
org.sonar.java.checks.methods.AbstractMethodDetection
org.sonar.java.checks.DateAndTimesCheck
- All Implemented Interfaces:
JavaCheck, JavaFileScanner, JavaVersionAwareVisitor
-
Field Summary
Fields inherited from class SubscriptionVisitor
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodMatchersbooleanisCompatibleWithJavaVersion(JavaVersion version) voidleaveFile(JavaFileScannerContext context) protected voidonConstructorFound(NewClassTree newClassTree) protected voidvoidsetContext(JavaFileScannerContext context) voidMethods inherited from class AbstractMethodDetection
onMethodReferenceFoundMethods inherited from class IssuableSubscriptionVisitor
addIssue, addIssueOnFile, reportIssue, reportIssue, reportIssue, reportIssue, scanFile, scanTreeMethods inherited from class SubscriptionVisitor
leaveNode, visitToken, visitTriviaMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JavaFileScanner
scanWithoutParsing
-
Constructor Details
-
DateAndTimesCheck
public DateAndTimesCheck()
-
-
Method Details
-
setContext
- Overrides:
setContextin classIssuableSubscriptionVisitor
-
leaveFile
- Overrides:
leaveFilein classIssuableSubscriptionVisitor
-
isCompatibleWithJavaVersion
- Specified by:
isCompatibleWithJavaVersionin interfaceJavaVersionAwareVisitor
-
nodesToVisit
- Overrides:
nodesToVisitin classAbstractMethodDetection
-
visitNode
- Overrides:
visitNodein classAbstractMethodDetection
-
getMethodInvocationMatchers
- Specified by:
getMethodInvocationMatchersin classAbstractMethodDetection
-
onConstructorFound
- Overrides:
onConstructorFoundin classAbstractMethodDetection
-
onMethodInvocationFound
- Overrides:
onMethodInvocationFoundin classAbstractMethodDetection
-