void (final CandidateInfo @NotNull [] candidates, @NotNull final PsiMethodCallExpression methodCall, @Nullable final HighlightInfo.Builder info, @Nullable TextRange fixRange) { if (info == null) return; final Set<PsiLiteralExpression> literals = new HashSet<>(); boolean exactMatch = false; for (CandidateInfo candidate : candidates) { if (candidate instanceof MethodCandidateInfo) { final PsiMethod method = ((MethodCandidateInfo) candidate).getElement(); exactMatch |= findMatchingExpressions(methodCall.getArgumentList().getExpressions(), method, literals); } } if (!exactMatch) { processLiterals(literals, info, fixRange); } }