void (StatusBar statusBar, @StatusBarText String text) { updateRestoreText(statusBar); Pair<@StatusBarText String, @StatusBarText String> textsPair = myStatusBar2SavedText.get(statusBar); myStatusBar2SavedText.put(statusBar, pair(textsPair.first, text)); statusBar.setInfo(text); }