Object (@NotNull String dataId) { if (LangDataKeys.POSITION_ADJUSTER_POPUP.is(dataId)) { return myDropdownPopup != null && myDropdownPopup.isVisible() ? myDropdownPopup : null; } else if (LangDataKeys.PARENT_POPUP.is(dataId)) { return myTextPopup != null && myTextPopup.isVisible() ? myTextPopup : null; } return null; }