Object (@NotNull String dataId) { if (PlatformDataKeys.CONTENT_MANAGER.is(dataId)) { return myManager; } if (PlatformDataKeys.NONEMPTY_CONTENT_MANAGER.is(dataId) && myManager.getContentCount() > 1) { return myManager; } return null; }