Class AssertionsWithoutMessageCheck
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.AssertionsWithoutMessageCheck
- All Implemented Interfaces:
DependencyVersionAware, JavaCheck, JavaFileScanner
public class AssertionsWithoutMessageCheck
extends AbstractMethodDetection
implements DependencyVersionAware
-
Field Summary
Fields inherited from class SubscriptionVisitor
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodMatchersbooleanisCompatibleWithDependencies(Function<String, Optional<Version>> dependencyFinder) protected voidMethods inherited from class AbstractMethodDetection
nodesToVisit, onConstructorFound, onMethodReferenceFound, visitNodeMethods inherited from class IssuableSubscriptionVisitor
addIssue, addIssueOnFile, leaveFile, reportIssue, reportIssue, reportIssue, reportIssue, scanFile, scanTree, setContextMethods 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
-
AssertionsWithoutMessageCheck
public AssertionsWithoutMessageCheck()
-
-
Method Details
-
getMethodInvocationMatchers
- Specified by:
getMethodInvocationMatchersin classAbstractMethodDetection
-
onMethodInvocationFound
- Overrides:
onMethodInvocationFoundin classAbstractMethodDetection
-
isCompatibleWithDependencies
- Specified by:
isCompatibleWithDependenciesin interfaceDependencyVersionAware
-