void (Ref<Future<?>> ref, ValidationResult validationResult) { if (myChecks.remove(ref.get())) { if (!validationResult.isOk()) { validationCompleted(validationResult); } else if (myChecks.isEmpty()) { myCurrentQuickFix = null; setNoErrors(); } } }