}
}.visitFile(file);
}
private static void checkFmtCall(InspectionResult result, GoCallOrConvExpression call) {
GoPrimaryExpression callNameExpression = call.getBaseExpression();
if (callNameExpression == null)
return;
String methodCall = callNameExpression.getText();
GoExpr[]args = call.getArguments();
if ("fmt.Fprintf".equals(methodCall) && args.length > 1) {
checkFormat(result, call, Arrays.copyOfRange(args, 1, args.length), false);