Object (@NotNull String dataId) { if (PlatformCoreDataKeys.HELP_ID.is(dataId)) { return myModel.getHelpId(); } if (PlatformCoreDataKeys.BGT_DATA_PROVIDER.is(dataId)) { List<Object> selection = getChosenElements(); return (DataProvider)slowId -> getSlowData(slowId, selection); } else if (PlatformDataKeys.DOMINANT_HINT_AREA_RECTANGLE.is(dataId)) { return getBounds(); } return null; }