EditorBasedStatusBarPopup (@NotNull Project project) { StatusBarWidgetFactory widgetFactory = StatusBarWidgetFactory.EP_NAME.findExtension(JsonSchemaStatusWidgetFactory.class); assertNotNull(widgetFactory); //noinspection deprecation return (EditorBasedStatusBarPopup)widgetFactory.createWidget(project, project.getCoroutineScope()); }