ProgressIndicator (@NotNull ProgressIndicator indicator) { while (indicator instanceof ProgressWrapper) { indicator = ((ProgressWrapper)indicator).getOriginalProgressIndicator(); } return indicator; }