Files
openide/platform/analysis-impl/api-dump-experimental.txt
Alexey Kudravtsev 6a55436fe0 remove "compositeDocumentDirtyRange" optimization which led to missed daemon restarts
when doc change occurred, compositeDocumentDirtyRange was set, then LIP and GHP ran, then LIP finished successfully, but GHP didn't, then a non-doc-change change happened (i.e. write action started e.g. for disposing the default project on timer), the current GHP was canceled, restart happened, LIP restarted with restrictedRange=compositeDocumentDirtyRange (since compositeDocumentDirtyRange was not cleared yet) which led to complications.
instead, on document change we add this change to FileStatusMap for all registered passes manually, and delegate scope calculation/clearing to the standard FileStatusMap.
Also, make "defensivelyMarked" flag more granular to the pass level, because some pass used to complete very quickly, call "markFileUpToDate()" which cleared "defensivelyMarked" flag for all other passes, causing the scope narrower than necessary.

GitOrigin-RevId: 17d88a601df477ad66faea724f7ad9a05e88774f
2025-09-19 12:10:30 +00:00

82 lines
6.8 KiB
Plaintext

a:com.intellij.codeHighlighting.TextEditorHighlightingPass
- com.intellij.codeHighlighting.HighlightingPass
- *p:getContext():com.intellij.codeInsight.multiverse.CodeInsightContext
*f:com.intellij.codeInsight.completion.EmptyDeclarativeInsertHandler
- com.intellij.codeInsight.completion.DeclarativeInsertHandler
- sf:INSTANCE:com.intellij.codeInsight.completion.EmptyDeclarativeInsertHandler
*f:com.intellij.codeInsight.completion.SingleInsertionDeclarativeInsertHandler
- com.intellij.codeInsight.completion.DeclarativeInsertHandler
- <init>(java.lang.String,com.intellij.codeInsight.completion.DeclarativeInsertHandler$PopupOptions):V
- handleInsert(com.intellij.codeInsight.completion.InsertionContext,com.intellij.codeInsight.lookup.LookupElement):V
com.intellij.codeInsight.daemon.ReferenceImporter
- *:computeAutoImportAtOffset(com.intellij.openapi.editor.Editor,com.intellij.psi.PsiFile,I,Z):java.util.function.BooleanSupplier
*f:com.intellij.codeInsight.daemon.impl.BackgroundUpdateHighlightersUtil
- <init>():V
- s:setHighlightersToEditor(com.intellij.openapi.project.Project,com.intellij.psi.PsiFile,com.intellij.openapi.editor.Document,I,I,java.util.Collection,I):V
a:com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerEx
- com.intellij.codeInsight.daemon.DaemonCodeAnalyzer
- *s:processHighlights(com.intellij.openapi.editor.ex.MarkupModelEx,com.intellij.openapi.project.Project,com.intellij.lang.annotation.HighlightSeverity,I,I,com.intellij.codeInsight.multiverse.CodeInsightContext,com.intellij.util.Processor):Z
f:com.intellij.codeInsight.daemon.impl.FileStatusMap
- com.intellij.openapi.Disposable
- *:allDirtyScopesAreNull(com.intellij.openapi.editor.Document,com.intellij.codeInsight.multiverse.CodeInsightContext):Z
- *s:getDirtyTextRange(com.intellij.openapi.editor.Document,com.intellij.codeInsight.multiverse.CodeInsightContext,com.intellij.psi.PsiFile,I):com.intellij.openapi.util.TextRange
- *:getFileDirtyScope(com.intellij.openapi.editor.Document,com.intellij.codeInsight.multiverse.CodeInsightContext,com.intellij.psi.PsiFile,I):com.intellij.openapi.util.TextRange
- *:markFileUpToDate(com.intellij.openapi.editor.Document,com.intellij.codeInsight.multiverse.CodeInsightContext,I,com.intellij.openapi.progress.ProgressIndicator):V
com.intellij.codeInsight.daemon.impl.HighlightInfo$Builder
- *:registerFix(com.intellij.modcommand.ModCommandAction,java.util.List,java.lang.String,com.intellij.openapi.util.TextRange,com.intellij.codeInsight.daemon.HighlightDisplayKey):com.intellij.codeInsight.daemon.impl.HighlightInfo$Builder
- *a:registerLazyFixes(java.util.function.Consumer):com.intellij.codeInsight.daemon.impl.HighlightInfo$Builder
com.intellij.codeInsight.daemon.impl.HighlightingSession
- *a:getCodeInsightContext():com.intellij.codeInsight.multiverse.CodeInsightContext
*:com.intellij.codeInsight.daemon.impl.InjectedLanguageHighlightingRangeReducer
- sf:EP_NAME:com.intellij.openapi.extensions.ExtensionPointName
- a:reduceRange(com.intellij.psi.PsiFile,com.intellij.openapi.editor.Editor):java.util.List
*a:com.intellij.codeInsight.daemon.impl.actions.AbstractBatchSuppressByNoInspectionCommentModCommandFix
- com.intellij.modcommand.PsiUpdateModCommandQuickFix
- com.intellij.codeInspection.ContainerBasedSuppressQuickFix
- com.intellij.codeInspection.InjectionAwareSuppressQuickFix
- com.intellij.openapi.util.Iconable
- pf:myID:java.lang.String
- <init>(java.lang.String,Z):V
- p:applyFix(com.intellij.openapi.project.Project,com.intellij.psi.PsiElement,com.intellij.modcommand.ModPsiUpdater):V
- p:createSuppression(com.intellij.openapi.project.Project,com.intellij.psi.PsiElement,com.intellij.psi.PsiElement):V
- p:getCommentLanguage(com.intellij.psi.PsiElement):com.intellij.lang.Language
- p:getCommentsFor(com.intellij.psi.PsiElement):java.util.List
- a:getContainer(com.intellij.psi.PsiElement):com.intellij.psi.PsiElement
- getFamilyName():java.lang.String
- getIcon(I):javax.swing.Icon
- getName():java.lang.String
- getText():java.lang.String
- invoke(com.intellij.openapi.project.Project,com.intellij.psi.PsiElement):V
- isAvailable(com.intellij.openapi.project.Project,com.intellij.psi.PsiElement):Z
- isShouldBeAppliedToInjectionHost():com.intellij.util.ThreeState
- isSuppressAll():Z
- pf:replaceSuppressionComment(com.intellij.psi.PsiElement):V
- p:replaceSuppressionComments(com.intellij.psi.PsiElement):Z
- setShouldBeAppliedToInjectionHost(com.intellij.util.ThreeState):V
- p:setText(java.lang.String):V
*f:com.intellij.codeInsight.multiverse.CodeInsightContextHighlightingUtil
- *sf:acceptRangeHighlighter(com.intellij.codeInsight.multiverse.CodeInsightContext,com.intellij.openapi.editor.markup.RangeHighlighter):Z
- *sf:getCodeInsightContext(com.intellij.openapi.editor.markup.RangeHighlighter):com.intellij.codeInsight.multiverse.CodeInsightContext
- *sf:installCodeInsightContext(com.intellij.openapi.editor.markup.RangeHighlighter,com.intellij.openapi.project.Project,com.intellij.codeInsight.multiverse.CodeInsightContext):V
c:com.intellij.openapi.module.impl.scopes.ModulesScope
- com.intellij.psi.search.GlobalSearchScope
- com.intellij.psi.search.ActualCodeInsightContextInfo
- com.intellij.psi.search.CodeInsightContextAwareSearchScope
- *:contains(com.intellij.openapi.vfs.VirtualFile,com.intellij.codeInsight.multiverse.CodeInsightContext):Z
- *:getCodeInsightContextInfo():com.intellij.psi.search.CodeInsightContextInfo
- *:getFileInfo(com.intellij.openapi.vfs.VirtualFile):com.intellij.psi.search.CodeInsightContextFileInfo
a:com.intellij.psi.ResolveScopeEnlarger
- *:getAdditionalResolveScope(com.intellij.openapi.vfs.VirtualFile,com.intellij.codeInsight.multiverse.CodeInsightContext,com.intellij.openapi.project.Project):com.intellij.psi.search.SearchScope
a:com.intellij.psi.ResolveScopeProvider
- *:getResolveScope(com.intellij.openapi.vfs.VirtualFile,com.intellij.codeInsight.multiverse.CodeInsightContext,com.intellij.openapi.project.Project):com.intellij.psi.search.GlobalSearchScope
a:com.intellij.psi.impl.source.resolve.reference.impl.providers.FileReferenceHelper
- *:isMine(com.intellij.openapi.project.Project,com.intellij.openapi.vfs.VirtualFile,com.intellij.openapi.vfs.VirtualFile):Z
- *:processContexts(com.intellij.psi.impl.source.resolve.reference.impl.providers.FileReferenceSetParameters,com.intellij.openapi.vfs.VirtualFile,Z,com.intellij.util.Processor):Z
- *:processTargetContexts(com.intellij.psi.impl.source.resolve.reference.impl.providers.FileReferenceSetParameters,com.intellij.openapi.vfs.VirtualFile,com.intellij.util.Processor):Z
com.intellij.psi.impl.source.resolve.reference.impl.providers.FileReferenceResolver
- *:getRelativePath(com.intellij.psi.impl.source.resolve.reference.impl.providers.FileReference,com.intellij.openapi.vfs.VirtualFile,com.intellij.psi.PsiElement):java.lang.String
*:com.intellij.psi.impl.source.resolve.reference.impl.providers.FileReferenceSetParameters
- a:getElement():com.intellij.psi.PsiElement
- a:getPathString():java.lang.String
- a:isAbsolutePathReference():Z