Package org.sonar.java.checks
Class AssertionArgumentOrderCheck
- 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.AssertionArgumentOrderCheck
-
- All Implemented Interfaces:
JavaCheck
,JavaFileScanner
public class AssertionArgumentOrderCheck extends AbstractMethodDetection
-
-
Field Summary
-
Fields inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
context
-
-
Constructor Summary
Constructors Constructor Description AssertionArgumentOrderCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<MethodMatcher>
getMethodInvocationMatchers()
protected void
onMethodInvocationFound(MethodInvocationTree mit)
-
Methods inherited from class org.sonar.java.checks.methods.AbstractMethodDetection
nodesToVisit, onConstructorFound, onMethodReferenceFound, visitNode
-
Methods inherited from class org.sonar.plugins.java.api.IssuableSubscriptionVisitor
addIssue, addIssueOnFile, reportIssue, reportIssue, reportIssue, scanTree
-
Methods inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
hasSemantic, leaveFile, leaveNode, scanFile, setContext, visitToken, visitTrivia
-
-
-
-
Method Detail
-
getMethodInvocationMatchers
protected List<MethodMatcher> getMethodInvocationMatchers()
- Specified by:
getMethodInvocationMatchers
in classAbstractMethodDetection
-
onMethodInvocationFound
protected void onMethodInvocationFound(MethodInvocationTree mit)
- Overrides:
onMethodInvocationFound
in classAbstractMethodDetection
-
-