void (@NotNull PsiMethodCallExpression call) { PsiExpression argument = getArgument(call); if (argument == null) return; if (!couldBeUnwrappedRedundantConversion(argument, call)) { ProblemHighlightType highlightType = reportWithEmptyString ? ProblemHighlightType.WEAK_WARNING : ProblemHighlightType.INFORMATION; if (highlightType == ProblemHighlightType.INFORMATION && !isOnTheFly()) { return; } registerErrorAtOffset(call, 0, call.getArgumentList().getStartOffsetInParent(), highlightType, calculateReplacementText(call, argument, true), Boolean.TRUE); return; } registerErrorAtOffset(call, 0, call.getArgumentList().getStartOffsetInParent(), calculateReplacementText(call, argument, false), Boolean.FALSE); }