void () { throwIfCanceled(); ProgressManager progressManager = ProgressManager.getInstanceOrNull(); if (progressManager != null && ((CoreProgressManager)progressManager).runCheckCanceledHooks(this)) { throwIfCanceled(); } }