void (@NotNull PsiFile file1, @NotNull XPathFile file2) { final ContextProvider contextProvider = getContextProvider(file1); if (!(contextProvider instanceof DefaultProvider)) { contextProvider.attachTo(file2); } }