boolean (JComponent input) { ValidationInfo error = myDestPushTargetPanelComponent.verify(); if (error != null) { //noinspection ConstantConditions PopupUtil.showBalloonForComponent(error.component, error.message, MessageType.WARNING, false, project); } return error == null; }