Package org.sonar.java.checks.tests
Class MockitoArgumentMatchersUsedOnAllParametersCheck
java.lang.Object
org.sonar.java.ast.visitors.SubscriptionVisitor
org.sonar.plugins.java.api.IssuableSubscriptionVisitor
org.sonar.java.checks.tests.AbstractMockitoArgumentChecker
org.sonar.java.checks.tests.MockitoArgumentMatchersUsedOnAllParametersCheck
- All Implemented Interfaces:
JavaCheck,JavaFileScanner
-
Field Summary
Fields inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidleaveFile(JavaFileScannerContext context) protected voidvisitArguments(Arguments arguments) Visits the argument of a target method and reports an issue if infringing on implemented rule.Methods inherited from class org.sonar.java.checks.tests.AbstractMockitoArgumentChecker
nodesToVisit, visitNodeMethods inherited from class org.sonar.plugins.java.api.IssuableSubscriptionVisitor
addIssue, addIssueOnFile, reportIssue, reportIssue, reportIssue, scanFile, scanTree, setContextMethods inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
leaveNode, visitToken, visitTriviaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonar.plugins.java.api.JavaFileScanner
scanWithoutParsing
-
Constructor Details
-
MockitoArgumentMatchersUsedOnAllParametersCheck
public MockitoArgumentMatchersUsedOnAllParametersCheck()
-
-
Method Details
-
leaveFile
- Overrides:
leaveFilein classIssuableSubscriptionVisitor
-
visitArguments
Description copied from class:AbstractMockitoArgumentCheckerVisits the argument of a target method and reports an issue if infringing on implemented rule.- Specified by:
visitArgumentsin classAbstractMockitoArgumentChecker- Parameters:
arguments- List of arguments of the method
-