void (@NotNull FormattingStateId currentState) { ProgressIndicator indicator = getIndicator(); if (myLastState != currentState && indicator != null) { indicator.setText(currentState.getDescription()); } }