Class MockingAllMethodsCheck
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.tests.MockingAllMethodsCheck
- All Implemented Interfaces:
JavaCheck, JavaFileScanner
-
Field Summary
Fields inherited from class SubscriptionVisitor
context -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractMethodDetection
onConstructorFound, onMethodReferenceFoundMethods inherited from class IssuableSubscriptionVisitor
addIssue, addIssueOnFile, leaveFile, reportIssue, reportIssue, reportIssue, reportIssue, scanFile, scanTree, setContextMethods inherited from class SubscriptionVisitor
visitToken, visitTriviaMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JavaFileScanner
scanWithoutParsing
-
Constructor Details
-
MockingAllMethodsCheck
public MockingAllMethodsCheck()
-
-
Method Details
-
nodesToVisit
- Overrides:
nodesToVisitin classAbstractMethodDetection
-
getMethodInvocationMatchers
- Specified by:
getMethodInvocationMatchersin classAbstractMethodDetection
-
visitNode
- Overrides:
visitNodein classAbstractMethodDetection
-
onMethodInvocationFound
- Overrides:
onMethodInvocationFoundin classAbstractMethodDetection
-
leaveNode
- Overrides:
leaveNodein classSubscriptionVisitor
-