Package org.sonar.java.checks.security
Class ExecCallCheck
- 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.security.ExecCallCheck
-
- All Implemented Interfaces:
org.sonar.plugins.java.api.JavaCheck,org.sonar.plugins.java.api.JavaFileScanner
public class ExecCallCheck extends AbstractMethodDetection
-
-
Constructor Summary
Constructors Constructor Description ExecCallCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.sonar.java.matcher.MethodMatcher>getMethodInvocationMatchers()protected voidonConstructorFound(org.sonar.plugins.java.api.tree.NewClassTree newClassTree)protected voidonMethodInvocationFound(org.sonar.plugins.java.api.tree.MethodInvocationTree mit)-
Methods inherited from class org.sonar.java.checks.methods.AbstractMethodDetection
nodesToVisit, onMethodReferenceFound, visitNode
-
Methods inherited from class org.sonar.plugins.java.api.IssuableSubscriptionVisitor
addIssue, addIssueOnFile, reportIssue, reportIssue, reportIssue, scanTree
-
-
-
-
Method Detail
-
getMethodInvocationMatchers
protected List<org.sonar.java.matcher.MethodMatcher> getMethodInvocationMatchers()
- Specified by:
getMethodInvocationMatchersin classAbstractMethodDetection
-
onMethodInvocationFound
protected void onMethodInvocationFound(org.sonar.plugins.java.api.tree.MethodInvocationTree mit)
- Overrides:
onMethodInvocationFoundin classAbstractMethodDetection
-
onConstructorFound
protected void onConstructorFound(org.sonar.plugins.java.api.tree.NewClassTree newClassTree)
- Overrides:
onConstructorFoundin classAbstractMethodDetection
-
-