public abstract class AbstractInjectionChecker extends SubscriptionBaseVisitor
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractInjectionChecker.LocalVariableDynamicStringVisitor |
| Modifier and Type | Field and Description |
|---|---|
protected String |
parameterName |
context| Constructor and Description |
|---|
AbstractInjectionChecker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isConstant(Symbol symbol) |
protected boolean |
isDynamicString(Tree methodTree,
ExpressionTree arg,
Symbol currentlyChecking) |
protected boolean |
isDynamicString(Tree methodTree,
ExpressionTree arg,
Symbol currentlyChecking,
boolean firstLevel) |
protected boolean |
isIdentifierDynamicString(Tree methodTree,
IdentifierTree arg,
Symbol currentlyChecking,
boolean firstLevel) |
List<Tree.Kind> |
nodesToVisit() |
protected void |
setParameterNameFromArgument(ExpressionTree arg) |
getSemanticModel, scanFileaddIssue, addIssue, addIssue, addIssueOnFile, reportIssue, reportIssuehasSemantic, leaveNode, scanTree, visitNode, visitToken, visitTriviaprotected String parameterName
public List<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionVisitorprotected boolean isDynamicString(Tree methodTree, ExpressionTree arg, @Nullable Symbol currentlyChecking)
protected boolean isDynamicString(Tree methodTree, ExpressionTree arg, @Nullable Symbol currentlyChecking, boolean firstLevel)
protected boolean isIdentifierDynamicString(Tree methodTree, IdentifierTree arg, @Nullable Symbol currentlyChecking, boolean firstLevel)
public boolean isConstant(Symbol symbol)
protected void setParameterNameFromArgument(ExpressionTree arg)
Copyright © 2012–2015 SonarSource. All rights reserved.