CharSequence (@NotNull CharSequence sequence) { if (sequence instanceof StringUtil.BombedCharSequence) return sequence; return new StringUtil.BombedCharSequence(sequence) { @Override protected void checkCanceled() { ProgressManager.checkCanceled(); } }; }