void (@NotNull Document document, int passId) { synchronized (myDocumentToStatusMap) { FileStatus status = myDocumentToStatusMap.computeIfAbsent(document, __ -> new FileStatus(myProject)); status.defensivelyMarked = false; if (passId == Pass.WOLF) { status.wolfPassFinished = true; } else if (status.dirtyScopes.containsKey(passId)) { status.setDirtyScope(passId, null); } } }