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