public class PrintfFailCheck extends AbstractPrintfChecker
MESSAGE_FORMAT, MESSAGE_FORMAT_PATTERNcontext| Constructor and Description |
|---|
PrintfFailCheck() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleMessageFormat(MethodInvocationTree mit,
String formatString,
List<ExpressionTree> args) |
protected void |
handlePrintfFormat(MethodInvocationTree mit,
String formatString,
List<ExpressionTree> args) |
protected void |
onMethodInvocationFound(MethodInvocationTree mit) |
protected void |
reportMissingPrevious(MethodInvocationTree mit) |
argIndexes, cleanupDoubleQuote, cleanupLineSeparator, getIndex, getMessageFormatIndexes, getMethodInvocationMatchers, getParameters, isNewArrayWithInitializersnodesToVisit, onConstructorFound, visitNodeaddIssue, addIssueOnFile, reportIssue, reportIssue, reportIssuehasSemantic, leaveNode, scanFile, scanTree, visitToken, visitTriviaprotected void onMethodInvocationFound(MethodInvocationTree mit)
onMethodInvocationFound in class AbstractMethodDetectionprotected void handlePrintfFormat(MethodInvocationTree mit, String formatString, List<ExpressionTree> args)
handlePrintfFormat in class AbstractPrintfCheckerprotected void handleMessageFormat(MethodInvocationTree mit, String formatString, List<ExpressionTree> args)
handleMessageFormat in class AbstractPrintfCheckerprotected void reportMissingPrevious(MethodInvocationTree mit)
reportMissingPrevious in class AbstractPrintfCheckerCopyright © 2012–2017 SonarSource. All rights reserved.