void (@NotNull ProgressIndicator progress) { GlobalInspectionContextBase.assertUnderDaemonProgress(); myFinished = false; if (myFile != null) { myHighlightingSession = HighlightingSessionImpl.getFromCurrentIndicator(myFile); } try { collectInformationWithProgress(progress); } finally { if (myFile != null) { sessionFinished(); } } }