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