private @Nullable Object getData(@NotNull String dataId) {
    if (CommonDataKeys.PROJECT.is(dataId)) {
      return myProject;
    }
    if (PlatformCoreDataKeys.FILE_EDITOR.is(dataId)) {
      return myFileEditor;
    }
    if (OpenFileDescriptor.NAVIGATE_IN_EDITOR.is(dataId)) {
      if (myFileEditor instanceof TextEditor) {
        return ((TextEditor)myFileEditor).getEditor();
      }
    }
    if (PlatformCoreDataKeys.BGT_DATA_PROVIDER.is(dataId)) {
      TreePath[] selection = myTree.getSelectionPaths();
      return (DataProvider)slowId -> getSlowData(slowId, selection);
    }
    if (LangDataKeys.POSITION_ADJUSTER_POPUP.is(dataId)) {
      return myPopup;
    }
    if (PlatformDataKeys.COPY_PROVIDER.is(dataId)) {
      return myCopyPasteDelegator.getCopyProvider();
    }
    if (PlatformDataKeys.TREE_EXPANDER.is(dataId)) {
      return myTreeExpander;
    }
    return null;
  }
private @Nullable Object getData(@NotNull String dataId)