void () { long diff = myTriggerTime - System.currentTimeMillis(); if (diff > 0) { myAlarm.cancelAllRequests(); myAlarm.addRequest(this, diff); return; } if (myGradleHomePathField == null || !myGradleHomePathField.isShowing()) { // Don't schedule the balloon if the configurable is hidden. return; } ExternalSystemUiUtil.showBalloon(myGradleHomePathField, myMessageType, myText); }