void (@NotNull JavaFxTagNameReference ref, @NotNull QuickFixActionRegistrar registrar) { XmlTag element = ref.getTagElement(); if (element != null) { registrar.register(new JavaFxImportClassFix(ref, element) { @Override XmlTag getTagElement(@NotNull JavaFxTagNameReference ref) { return ref.getTagElement(); } }); } }