void (PsiExpression @NotNull [] expressions, @NotNull HighlightInfo.Builder builder, @Nullable TextRange fixRange, @NotNull JavaResolveResult candidate, @NotNull PsiElement context) { if (!candidate.isStaticsScopeCorrect()) return; PsiMethod method = (PsiMethod)candidate.getElement(); PsiSubstitutor substitutor = candidate.getSubstitutor(); if (method != null && context.getManager().isInProject(method)) { IntentionAction fix = QuickFixFactory.getInstance() .createChangeMethodSignatureFromUsageFix(method, expressions, substitutor, context, false, 2); builder.registerFix(fix, null, null, fixRange, null); IntentionAction f2 = QuickFixFactory.getInstance() .createChangeMethodSignatureFromUsageReverseOrderFix(method, expressions, substitutor, context, false, 2); builder.registerFix(f2, null, null, fixRange, null); } }