void (@NotNull PsiJavaCodeReferenceElement ref, @NotNull QuickFixActionRegistrar registrar) { if (!PsiUtil.isModuleFile(ref.getContainingFile())) { registrar.register(new AddMavenDependencyQuickFix(ref)); } }