void (@NotNull PsiReference ref, @NotNull QuickFixActionRegistrar registrar) { if (ref instanceof TagNameReference || ref instanceof AntDomReference) { registrar.register(new AntChangeContextFix()); } }