@Nullable
    public static ContextProvider getInstance(XPathFile file) {
      for (ContextProviderExtension extension : EXTENSION_POINT_NAME.getExtensionList()) {
            if (extension.accepts(file)) {
                return extension.getContextProvider(file);
            }
        }
        return null;
    }
@Nullable
    public static ContextProvider getInstance(XPathFile file)