void (CandidateInfo @NotNull [] methodCandidates, @NotNull PsiMethodCallExpression methodCall, @NotNull PsiExpressionList exprList, @Nullable HighlightInfo.Builder highlightInfo) { for (CandidateInfo methodCandidate : methodCandidates) { PsiMethod method = (PsiMethod)methodCandidate.getElement(); if (methodCandidate.isAccessible() && PsiUtil.isApplicable(method, methodCandidate.getSubstitutor(), exprList)) { PsiExpression qualifier = ExpressionUtils.getEffectiveQualifier(methodCall.getMethodExpression(), method); if (qualifier == null) continue; var fix = new QualifyMethodCallFix(methodCall, qualifier.getText()); TextRange fixRange = HighlightMethodUtil.getFixRange(methodCall); if (highlightInfo != null) { highlightInfo.registerFix(fix, null, null, fixRange, null); } } } }