void (@Nullable ObjectStubTree stubTree, @NotNull PsiFileWithStubSupport psiFile, @NotNull String extraMessage) { try { IndexStatisticGroup.reportStubIndexInconsistencyRegistered(psiFile.getProject()); StubTextInconsistencyException.checkStubTextConsistency(psiFile); LOG.error(extraMessage + "\n" + StubTreeLoader.getInstance().stubTreeAndIndexDoNotMatch(stubTree, psiFile, null)); } finally { onInternalError(psiFile.getVirtualFile()); } }