Package org.sonar.java.checks
Class FilesExistsJDK8Check
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.FilesExistsJDK8Check
- All Implemented Interfaces:
JavaVersionAwareVisitor,JavaCheck,JavaFileScanner
public class FilesExistsJDK8Check
extends AbstractMethodDetection
implements JavaVersionAwareVisitor
-
Field Summary
Fields inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodMatchersbooleanisCompatibleWithJavaVersion(JavaVersion version)protected voidprotected voidonMethodReferenceFound(MethodReferenceTree methodReferenceTree)Methods inherited from class org.sonar.java.checks.methods.AbstractMethodDetection
nodesToVisit, onConstructorFound, visitNodeMethods inherited from class org.sonar.plugins.java.api.IssuableSubscriptionVisitor
addIssue, addIssueOnFile, reportIssue, reportIssue, reportIssue, scanTreeMethods inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
leaveFile, leaveNode, scanFile, setContext, visitToken, visitTrivia
-
Constructor Details
-
FilesExistsJDK8Check
public FilesExistsJDK8Check()
-
-
Method Details
-
isCompatibleWithJavaVersion
- Specified by:
isCompatibleWithJavaVersionin interfaceJavaVersionAwareVisitor
-
getMethodInvocationMatchers
- Specified by:
getMethodInvocationMatchersin classAbstractMethodDetection
-
onMethodInvocationFound
- Overrides:
onMethodInvocationFoundin classAbstractMethodDetection
-
onMethodReferenceFound
- Overrides:
onMethodReferenceFoundin classAbstractMethodDetection
-