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:
JavaCheck,JavaFileScanner
public class LogConfigurationCheck extends AbstractMethodDetection
-
-
Field Summary
-
Fields inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
context
-
-
Constructor Summary
Constructors Constructor Description LogConfigurationCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MethodMatchersgetMethodInvocationMatchers()List<Tree.Kind>nodesToVisit()protected voidonConstructorFound(NewClassTree newClassTree)protected voidonMethodInvocationFound(MethodInvocationTree mit)voidvisitNode(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
-
Methods inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
hasSemantic, leaveFile, leaveNode, scanFile, setContext, visitToken, visitTrivia
-
-
-
-
Method Detail
-
nodesToVisit
public List<Tree.Kind> nodesToVisit()
- Overrides:
nodesToVisitin classAbstractMethodDetection
-
getMethodInvocationMatchers
protected MethodMatchers getMethodInvocationMatchers()
- Specified by:
getMethodInvocationMatchersin classAbstractMethodDetection
-
visitNode
public void visitNode(Tree tree)
- Overrides:
visitNodein classAbstractMethodDetection
-
onMethodInvocationFound
protected void onMethodInvocationFound(MethodInvocationTree mit)
- Overrides:
onMethodInvocationFoundin classAbstractMethodDetection
-
onConstructorFound
protected void onConstructorFound(NewClassTree newClassTree)
- Overrides:
onConstructorFoundin classAbstractMethodDetection
-
-