void (@NotNull URLReference ref, @NotNull QuickFixActionRegistrar registrar) { registrar.register(new FetchExtResourceAction()); registrar.register(new ManuallySetupExtResourceAction()); registrar.register(new IgnoreExtResourceAction()); final PsiElement parentElement = ref.getElement().getParent(); if (parentElement instanceof XmlAttribute && ((XmlAttribute)parentElement).isNamespaceDeclaration()) { registrar.register(new AddXsiSchemaLocationForExtResourceAction()); } }