LocalQuickFix (@Nullable PsiElement element, @NotNull String methodName, @NotNull List<ReflectiveSignature> methodSignatures, boolean isConstructor, boolean isOnTheFly) { if (isOnTheFly && !methodSignatures.isEmpty() || methodSignatures.size() == 1) { return new ReplaceSignatureQuickFix(element, methodName, methodSignatures, isConstructor); } return null; }