void (@NotNull PsiJavaCodeReferenceElement ref, @NotNull QuickFixActionRegistrar registrar) { regFixCalled.add(new Throwable()); //TimeoutUtil.sleep(1000); if (!ALLOW_UNRESOLVED_REFERENCE_QUICK_FIXES) { fail("Must not register unresolved reference fixes synchronously"); } }