Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
251,300
Object2IntMap<HighlightSeverity> () { Object2IntMap<HighlightSeverity> map = orderMap.get(); if (map != null) return map; return orderMap.updateAndGet(oldMap -> oldMap == null ? fromList(getDefaultOrder()) : oldMap); }
getOrderMap
251,301
Object2IntMap<HighlightSeverity> (@NotNull List<? extends HighlightSeverity> orderList) { if (orderList.isEmpty()) { return Object2IntMaps.emptyMap(); } Object2IntMap<HighlightSeverity> map = new Object2IntOpenHashMap<>(orderList.size()); map.defaultReturnValue(-1); for (int index = 0; index < orderList.size(); index++...
fromList
251,302
List<HighlightSeverity> () { List<HighlightSeverity> order = new ArrayList<>(STANDARD_SEVERITIES.size() + myMap.size()); for (HighlightInfoType type : STANDARD_SEVERITIES.values()) { order.add(type.getSeverity(null)); } for (SeverityBasedTextAttributes attributes : myMap.values()) { order.add(attributes.getSeverity());...
getDefaultOrder
251,303
void (@NotNull List<HighlightSeverity> orderList) { orderMap.set(ensureAllStandardIncluded(orderList, getDefaultOrder())); myReadOrder = null; severitiesChanged(); }
setOrder
251,304
boolean (@NotNull HighlightSeverity severity) { return STANDARD_SEVERITIES.containsKey(severity.myName); }
isDefaultSeverity
251,305
boolean (@NotNull HighlightSeverity minSeverity) { for (SeveritiesProvider provider : SeveritiesProvider.EP_NAME.getIterable()) { if (provider.isGotoBySeverityEnabled(minSeverity)) { return true; } } return minSeverity != HighlightSeverity.INFORMATION; }
isGotoBySeverityEnabled
251,306
TextAttributes () { return myAttributes; }
getAttributes
251,307
void (@NotNull Element element) { myAttributes.writeExternal(element); myType.writeExternal(element); }
writeExternal
251,308
HighlightSeverity () { return myType.getSeverity(null); }
getSeverity
251,309
boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; SeverityBasedTextAttributes that = (SeverityBasedTextAttributes)o; return myAttributes.equals(that.myAttributes) && myType.equals(that.myType); }
equals
251,310
int () { return 31 * myAttributes.hashCode() + myType.hashCode(); }
hashCode
251,311
Collection<HighlightInfoType> () { return STANDARD_SEVERITIES.values(); }
standardSeverities
251,312
boolean (@FlagConstant byte mask) { return BitUtil.isSet(myFlags, mask); }
isFlagSet
251,313
void (@FlagConstant byte mask, boolean value) { //noinspection NonAtomicOperationOnVolatileField myFlags = BitUtil.set(myFlags, mask, value); }
setFlag
251,314
HighlightSeverity () { return severity; }
getSeverity
251,315
RangeHighlighterEx () { return highlighter; }
getHighlighter
251,316
void (@Nullable RangeHighlighterEx highlighter) { this.highlighter = highlighter; }
setHighlighter
251,317
boolean () { return isFlagSet(AFTER_END_OF_LINE_MASK); }
isAfterEndOfLine
251,318
TextAttributes (@Nullable PsiElement element, @NotNull HighlightInfoType type, @NotNull TextAttributesScheme colorsScheme) { SeverityRegistrar severityRegistrar = SeverityRegistrar.getSeverityRegistrar(element != null ? element.getProject() : null); TextAttributes textAttributes = severityRegistrar.getTextAttributesByS...
getAttributesByType
251,319
EditorColorsScheme (@Nullable EditorColorsScheme customScheme) { return customScheme != null ? customScheme : EditorColorsManager.getInstance().getGlobalScheme(); }
getColorsScheme
251,320
boolean () { return isFlagSet(NEEDS_UPDATE_ON_TYPING_MASK); }
needUpdateOnTyping
251,321
boolean (@Nullable Boolean needsUpdateOnTyping, HighlightInfoType type) { if (needsUpdateOnTyping != null) { return needsUpdateOnTyping; } if (type instanceof HighlightInfoType.UpdateOnTypingSuppressible) { return ((HighlightInfoType.UpdateOnTypingSuppressible)type).needsUpdateOnTyping(); } return true; }
calcNeedUpdateOnTyping
251,322
boolean (Object obj) { if (obj == this) return true; if (!(obj instanceof HighlightInfo info)) return false; return info.getSeverity() == getSeverity() && info.startOffset == startOffset && info.endOffset == endOffset && Comparing.equal(info.type, type) && Comparing.equal(info.gutterIconRenderer, gutterIconRenderer) &&...
equals
251,323
boolean (@NotNull HighlightInfo info) { if (info == this) return true; return info.getSeverity() == getSeverity() && info.getActualStartOffset() == getActualStartOffset() && info.getActualEndOffset() == getActualEndOffset() && Comparing.equal(info.type, type) && Comparing.equal(info.gutterIconRenderer, gutterIconRender...
equalsByActualOffset
251,324
int () { return startOffset; }
hashCode
251,325
Builder (@NotNull HighlightInfoType type) { return new HighlightInfoB(type); }
newHighlightInfo
251,326
GutterMark () { return gutterIconRenderer; }
getGutterIconRenderer
251,327
HighlightInfo (@NotNull Annotation annotation) { return fromAnnotation(ExternalAnnotator.class, annotation, false); }
fromAnnotation
251,328
HighlightInfo (@NotNull ExternalAnnotator<?,?> externalAnnotator, @NotNull Annotation annotation) { return fromAnnotation(externalAnnotator.getClass(), annotation, false); }
fromAnnotation
251,329
HighlightInfo (@NotNull Class<?> annotatorClass, @NotNull Annotation annotation, boolean batchMode) { TextAttributes forcedAttributes = annotation.getEnforcedTextAttributes(); TextAttributesKey key = annotation.getTextAttributes(); TextAttributesKey forcedAttributesKey = forcedAttributes == null && key != HighlighterCo...
fromAnnotation
251,330
HighlightInfoType (@NotNull Annotation annotation) { ProblemHighlightType type = annotation.getHighlightType(); HighlightSeverity severity = annotation.getSeverity(); return toHighlightInfoType(type, severity); }
convertType
251,331
HighlightInfoType (ProblemHighlightType problemHighlightType, @NotNull HighlightSeverity severity) { if (problemHighlightType == ProblemHighlightType.LIKE_UNUSED_SYMBOL) return HighlightInfoType.UNUSED_SYMBOL; if (problemHighlightType == ProblemHighlightType.LIKE_UNKNOWN_SYMBOL) return HighlightInfoType.WRONG_REF; if (...
toHighlightInfoType
251,332
HighlightInfoType (@NotNull HighlightSeverity severity) { //noinspection deprecation return severity == HighlightSeverity.ERROR ? HighlightInfoType.ERROR : severity == HighlightSeverity.WARNING ? HighlightInfoType.WARNING : severity == HighlightSeverity.INFO ? HighlightInfoType.INFO : severity == HighlightSeverity.WEAK...
convertSeverity
251,333
ProblemHighlightType (@NotNull HighlightInfoType infoType) { if (infoType == HighlightInfoType.ERROR || infoType == HighlightInfoType.WRONG_REF) return ProblemHighlightType.ERROR; if (infoType == HighlightInfoType.WARNING) return ProblemHighlightType.WARNING; if (infoType == HighlightInfoType.INFORMATION) return Proble...
convertType
251,334
ProblemHighlightType (@NotNull HighlightSeverity severity) { //noinspection deprecation,removal return severity == HighlightSeverity.ERROR ? ProblemHighlightType.ERROR : severity == HighlightSeverity.WARNING ? ProblemHighlightType.WARNING : severity == HighlightSeverity.INFO ? ProblemHighlightType.INFO : severity == Hi...
convertSeverityToProblemHighlight
251,335
boolean () { return isFlagSet(HAS_HINT_MASK); }
hasHint
251,336
int () { RangeHighlighterEx h = highlighter; return h == null || !h.isValid() ? startOffset : h.getStartOffset(); }
getActualStartOffset
251,337
int () { RangeHighlighterEx h = highlighter; return h == null || !h.isValid() ? endOffset : h.getEndOffset(); }
getActualEndOffset
251,338
IntentionAction () { return myAction; }
getAction
251,339
String () { ModCommandAction modCommandAction = getAction().asModCommandAction(); LocalQuickFix fix = QuickFixWrapper.unwrap(getAction()); if (fix != null) { modCommandAction = ModCommandService.getInstance().unwrap(fix); } Object action = modCommandAction != null ? modCommandAction : fix != null ? fix : IntentionActio...
toString
251,340
boolean (Object obj) { return obj instanceof IntentionActionDescriptor && myAction.equals(((IntentionActionDescriptor)obj).myAction); }
equals
251,341
int () { return myProblemOffset; }
getProblemOffset
251,342
void (int problemOffset) { myProblemOffset = problemOffset; }
setProblemOffset
251,343
int () { return getActualStartOffset(); }
getStartOffset
251,344
int () { return getActualEndOffset(); }
getEndOffset
251,345
String () { if (isFileLevelAnnotation()) return ""; RangeHighlighterEx highlighter = this.highlighter; if (highlighter == null) { throw new RuntimeException("info not applied yet"); } if (!highlighter.isValid()) return ""; return highlighter.getDocument().getText(highlighter.getTextRange()); }
getText
251,346
Long2ObjectMap<RangeMarker> (long targetRange) { Long2ObjectMap<RangeMarker> cache = new Long2ObjectOpenHashMap<>(); if (quickFixActionMarkers != null) { for (Pair<IntentionActionDescriptor, RangeMarker> pair : quickFixActionMarkers) { RangeMarker marker = pair.getSecond(); if (marker.isValid() && TextRangeScalarUtil.t...
reuseRangeMarkerCacheIfCreated
251,347
RangeMarker (@NotNull Document document, @NotNull Long2ObjectMap<RangeMarker> range2markerCache, long textRange) { return range2markerCache.computeIfAbsent(textRange, __ -> document.createRangeMarker(TextRangeScalarUtil.startOffset(textRange), TextRangeScalarUtil.endOffset(textRange))); }
getOrCreate
251,348
void (@NotNull IntentionAction action) { doRegister(action, null, null, null); }
register
251,349
void (@NotNull TextRange fixRange, @NotNull IntentionAction action, HighlightDisplayKey key) { doRegister(action, HighlightDisplayKey.getDisplayNameByKey(key), fixRange, key); }
register
251,350
void (@NotNull Condition<? super IntentionAction> condition) { myInfo.unregisterQuickFix(condition); }
unregister
251,351
String () { return "QuickFixActionRegistrarImpl{myInfo=" + myInfo + '}'; }
toString
251,352
void () { assert !created : "Must not call this method after Builder.create() was called"; }
assertNotCreated
251,353
record (@NotNull IntentionAction action, @Nullable List<? extends IntentionAction> options, @Nls @Nullable String displayName, @Nullable TextRange fixRange, @Nullable HighlightDisplayKey key) { }
FixInfo
251,354
HighlightInfo () { assertNotCreated(); created = true; if (severity == null) { severity = type.getSeverity(psiElement); } HighlightInfo info = new HighlightInfo(forcedTextAttributes, forcedTextAttributesKey, type, startOffset, endOffset, escapedDescription, escapedToolTip, severity, isAfterEndOfLine, myNeedsUpdateOnTyp...
createUnconditionally
251,355
boolean (@NotNull HighlightInfo info, @Nullable PsiElement psiElement) { PsiFile file = psiElement == null ? null : psiElement.getContainingFile(); for (HighlightInfoFilter filter : HighlightInfoFilter.EXTENSION_POINT_NAME.getExtensionList()) { if (!filter.accept(info, file)) { return false; } } return true; }
isAcceptedByFilters
251,356
boolean (@NotNull HighlightInfo info, @NotNull HighlightInfo coveredBy) { return coveredBy.startOffset <= info.startOffset && info.endOffset <= coveredBy.endOffset && info.getGutterIconRenderer() == null; }
isCoveredByOffsets
251,357
boolean (@NotNull Project project, @NotNull HighlightInfo info) { for (HighlightInfoPostFilter filter : EP_NAME.getExtensionList(project)) { if (!filter.accept(info)) return false; } return true; }
accept
251,358
List<HighlightInfo> (@NotNull Project project, @NotNull List<? extends HighlightInfo> highlightInfos) { List<HighlightInfo> result = new ArrayList<>(highlightInfos.size()); for (HighlightInfo info : highlightInfos) { if (accept(project, info)) { result.add(info); } } return result; }
applyPostFilter
251,359
boolean (@NotNull HighlightInfo info) { return info.isFileLevelAnnotation() || info.getGutterIconRenderer() != null; }
isFileLevelOrGutterAnnotation
251,360
void (@NotNull Project project, @NotNull Editor editor, int startOffset, int endOffset, @NotNull Collection<? extends HighlightInfo> highlights, @Nullable EditorColorsScheme colorsScheme, // if null, the global scheme will be used int group) { ThreadingAssertions.assertEventDispatchThread(); Document document = editor....
setHighlightersToSingleEditor
251,361
void (@NotNull Project project, @NotNull Document document, int startOffset, int endOffset, @NotNull Collection<? extends HighlightInfo> highlights, @Nullable EditorColorsScheme colorsScheme, // if null, the global scheme will be used int group) { ThreadingAssertions.assertEventDispatchThread(); MarkupModelEx markup = ...
setHighlightersToEditor
251,362
void (@NotNull Project project, @NotNull Document document, int startOffset, int endOffset, @NotNull Collection<? extends HighlightInfo> infos, @Nullable EditorColorsScheme colorsScheme, // if null, the global scheme will be used int group, @NotNull MarkupModelEx markup) { TextRange range = new TextRange(startOffset, e...
setHighlightersToEditor
251,363
void (@NotNull Document document, @NotNull TextRange range, @NotNull List<? extends HighlightInfo> infos, @NotNull MarkupModelEx markup, int group, @NotNull HighlightingSession session) { ThreadingAssertions.assertEventDispatchThread(); Project project = session.getProject(); PsiFile psiFile = session.getPsiFile(); Sev...
setHighlightersInRange
251,364
boolean (@NotNull HighlightersRecycler infosToRemove, @NotNull HighlightingSession session) { boolean changed = false; // do not remove obsolete highlighters if we are in "essential highlighting only" mode, because otherwise all inspection-produced results would be gone for (RangeHighlighter highlighter : infosToRemove...
incinerateObsoleteHighlighters
251,365
boolean (@NotNull RangeHighlighter highlighter, @NotNull HighlightingSession session) { return !session.isEssentialHighlightingOnly() || shouldRemoveInfoEvenInEssentialMode(highlighter); }
shouldRemoveHighlighter
251,366
boolean (@NotNull RangeHighlighter highlighter) { HighlightInfo info = HighlightInfo.fromRangeHighlighter(highlighter); if (info == null) return true; int group = info.getGroup(); if (group != Pass.LOCAL_INSPECTIONS && group != Pass.EXTERNAL_TOOLS && group != Pass.WHOLE_FILE_LOCAL_INSPECTIONS && group != Pass.UPDATE_AL...
shouldRemoveInfoEvenInEssentialMode
251,367
boolean (@NotNull HighlightInfo info, @NotNull SeverityRegistrar severityRegistrar, @NotNull Collection<? extends HighlightInfo> overlappingIntervals) { if (!isSevere(info, severityRegistrar)) { for (HighlightInfo overlapping : overlappingIntervals) { if (isCovered(info, severityRegistrar, overlapping)) { return true; ...
isWarningCoveredByError
251,368
boolean (@NotNull HighlightInfo warning, @NotNull SeverityRegistrar severityRegistrar, @NotNull HighlightInfo candidate) { if (!isCoveredByOffsets(warning, candidate)) return false; if (candidate.getSeverity() == HighlightInfoType.SYMBOL_TYPE_SEVERITY) return false; // syntax should not interfere with warnings return i...
isCovered
251,369
boolean (@NotNull HighlightInfo info, @NotNull SeverityRegistrar severityRegistrar) { HighlightSeverity severity = info.getSeverity(); return severityRegistrar.compare(HighlightSeverity.ERROR, severity) <= 0 || severity == HighlightInfoType.SYMBOL_TYPE_SEVERITY; }
isSevere
251,370
void (@NotNull HighlightInfo info, @Nullable EditorColorsScheme colorsScheme, // if null, the global scheme will be used @NotNull Document document, int group, @NotNull PsiFile psiFile, @NotNull MarkupModelEx markup, @Nullable HighlightersRecycler infosToRemove, @NotNull Long2ObjectMap<RangeMarker> range2markerCache, @...
createOrReuseHighlighterFor
251,371
int (@NotNull HighlightInfo info) { for (InternalLayerSupplier extension : EP_NAME.getExtensionList()) { int layer = extension.getLayer(info); if (layer > 0) { return layer; } } return -1; }
getLayerFromSuppliers
251,372
int (@NotNull HighlightInfo info, @NotNull SeverityRegistrar severityRegistrar) { int hardCodedLayer = InternalLayerSuppliers.getLayerFromSuppliers(info); if (hardCodedLayer > 0) { return hardCodedLayer; } HighlightSeverity severity = info.getSeverity(); int layer; if (severityRegistrar.compare(severity, HighlightSever...
getLayer
251,373
boolean (@NotNull Document document) { return document.getUserData(TYPING_INSIDE_HIGHLIGHTER_OCCURRED) == null; }
isWhitespaceOptimizationAllowed
251,374
void (@NotNull Document document) { document.putUserData(TYPING_INSIDE_HIGHLIGHTER_OCCURRED, Boolean.TRUE); }
disableWhiteSpaceOptimization
251,375
void (@NotNull Document document) { document.putUserData(TYPING_INSIDE_HIGHLIGHTER_OCCURRED, null); }
clearWhiteSpaceOptimizationFlag
251,376
void (@NotNull Project project, @NotNull DocumentEvent e) { ThreadingAssertions.assertEventDispatchThread(); Document document = e.getDocument(); if (document.isInBulkUpdate()) return; int start = e.getOffset() - 1; int end = start + e.getOldLength(); List<HighlightInfo> toRemove = new ArrayList<>(); DaemonCodeAnalyzer...
updateHighlightersByTyping
251,377
void (@NotNull Document document, @NotNull Project project, @NotNull Segment range) { if (IntentionPreviewUtils.isIntentionPreviewActive()) return; ThreadingAssertions.assertEventDispatchThread(); MarkupModel model = DocumentMarkupModel.forDocument(document, project, false); if (model == null) return; for (RangeHighlig...
removeHighlightersWithExactRange
251,378
boolean (RangeHighlighter highlighter) { return highlighter.getUserData(BEING_RECYCLED_KEY) != null; }
isBeingRecycled
251,379
void (@NotNull PsiFile psiFile, @NotNull MarkupModelEx markupModel, boolean isWholeFileToolsPass, @NotNull InspectionProfileWrapper profileWrapper) { data.clear(); for (RangeHighlighter highlighter : markupModel.getAllHighlighters()) { HighlightInfo info = HighlightInfo.fromRangeHighlighter(highlighter); if (info != nu...
readFromMarkupModel
251,380
boolean (@NotNull String toolId, @NotNull InspectionProfileWrapper profileWrapper, @NotNull PsiFile psiFile) { InspectionToolWrapper<?, ?> tool = profileWrapper.getInspectionTool(toolId, psiFile); return tool instanceof LocalInspectionToolWrapper local && local.runForWholeFile(); }
isWholeFileTool
251,381
List<HighlightInfo> (@Nullable @NonNls Object toolId, @NotNull PsiFile psiFile) { Pair<Object, PsiFile> toolIdInFile = Pair.create(Objects.requireNonNullElse(toolId, UNKNOWN_ID), psiFile); return data.computeIfAbsent(toolIdInFile, __ -> new ArrayList<>()); }
getList
251,382
List<HighlightInfo> (@NotNull TextRange range, @NotNull List<? extends HighlightInfo> newInfos, @NotNull List<? extends HighlightInfo> oldInfos, @NotNull MarkupModelEx markup, @NotNull HighlightingSession session) { ApplicationManager.getApplication().assertIsNonDispatchThread(); ApplicationManager.getApplication().ass...
setHighlightersInRange
251,383
void (@NotNull TextEditorHighlightingPassFactoryRegistrar factoryRegistrar, @NotNull PluginDescriptor pluginDescriptor) { factoryRegistrar.registerHighlightingPassFactory(TextEditorHighlightingPassRegistrarImpl.this, project); }
extensionAdded
251,384
void (@NotNull TextEditorHighlightingPassFactoryRegistrar factoryRegistrar, @NotNull PluginDescriptor pluginDescriptor) { reRegisterFactories(); }
extensionRemoved
251,385
boolean () { return serializeCodeInsightPasses; }
isSerializeCodeInsightPasses
251,386
record (@NotNull TextEditorHighlightingPassFactory passFactory, int @NotNull [] completionPredecessorIds, int @NotNull [] startingPredecessorIds) { }
PassConfig
251,387
void (int @NotNull [] ids, @NotNull String name) { for (int id : ids) { if (id == Pass.UPDATE_FOLDING || id == Pass.POPUP_HINTS || id == Pass.UPDATE_ALL || id == Pass.LOCAL_INSPECTIONS || id == Pass.EXTERNAL_TOOLS || id == Pass.WOLF || id == Pass.LINE_MARKERS || id == Pass.SLOW_LINE_MARKERS || id == Pass.WHOLE_FILE_LOC...
assertPassIdsAreNotCrazy
251,388
Iterable<DirtyScopeTrackingHighlightingPassFactory> () { return myDirtyScopeTrackingFactories; }
getDirtyScopeTrackingFactories
251,389
void (@NotNull Editor editor, @NotNull ProperTextRange range) { assert ApplicationManager.getApplication().isHeadlessEnvironment() : "Must be called in headless mode only"; if (range.getEndOffset() > editor.getDocument().getTextLength()) { throw new IllegalArgumentException("Invalid range: " + range + "; document lengt...
setVisibleRangeForHeadlessMode
251,390
boolean (@NotNull VirtualFile virtualFile, @NotNull Project project) { ThreadingAssertions.assertEventDispatchThread(); FileEditor[] editors = FileEditorManager.getInstance(project).getEditors(virtualFile); if (editors.length == 0) { return false; } UndoManager undoManager = UndoManager.getInstance(project); for (FileE...
canUndo
251,391
Result (@NotNull PsiFileSystemItem file) { ThreadingAssertions.assertEventDispatchThread(); Project project = file.getProject(); VirtualFile virtualFile = file.getVirtualFile(); if (virtualFile == null) { return Result.UH_UH; } if (file instanceof PsiCodeFragment) { return Result.UH_HUH; } if (ScratchUtil.isScratch(vir...
thisFile
251,392
boolean (@NotNull HighlightingSession session, @NotNull PsiFile file, @NotNull Document document, @NotNull TextRange restrictRange, @NotNull HighlightInfo info, @Nullable EditorColorsScheme colorsScheme, // if null, the global scheme will be used int group, @NotNull Long2ObjectMap<RangeMarker> range2markerCache) { Appl...
addHighlighterToEditorIncrementally
251,393
void (@NotNull Project project, @NotNull PsiFile psiFile, @NotNull Document document, int startOffset, int endOffset, @NotNull Collection<? extends HighlightInfo> highlights, int group) { HighlightingSession session = HighlightingSessionImpl.getFromCurrentIndicator(psiFile); MarkupModelEx markup = (MarkupModelEx)Docume...
setHighlightersToEditor
251,394
void (@NotNull List<? extends HighlightInfo> infos, @NotNull TextRange restrictedRange, @NotNull TextRange priorityRange, int group, @NotNull HighlightingSession session) { ApplicationManager.getApplication().assertIsNonDispatchThread(); ApplicationManager.getApplication().assertReadAccessAllowed(); PsiFile psiFile = s...
setHighlightersOutsideRange
251,395
void (@NotNull TextRange range, @NotNull List<? extends HighlightInfo> infos, @NotNull MarkupModelEx markup, int group, @NotNull HighlightingSession session) { ApplicationManager.getApplication().assertIsNonDispatchThread(); ApplicationManager.getApplication().assertReadAccessAllowed(); Project project = session.getPro...
setHighlightersInRange
251,396
void (@NotNull TextRange range, @NotNull List<? extends HighlightInfo> infos, @NotNull MarkupModelEx markup, int group, @NotNull HighlightingSession session, @NotNull List<? extends HighlightInfo> toRemove) { ApplicationManager.getApplication().assertIsNonDispatchThread(); ApplicationManager.getApplication().assertRead...
setHighlightersInRange
251,397
void (@NotNull HighlightInfo info, @Nullable EditorColorsScheme colorsScheme, // if null, the global scheme will be used @NotNull Document document, int group, @NotNull PsiFile psiFile, @NotNull MarkupModelEx markup, @Nullable HighlightersRecycler infosToRemove, @NotNull Long2ObjectMap<RangeMarker> range2markerCache, @...
createOrReuseHighlighterFor
251,398
void () { // clear dangling references to PsiFiles/Documents. SCR#10358 markAllFilesDirty("FileStatusMap dispose"); }
dispose
251,399
void (@NotNull Project project, @NotNull Document document, boolean errorFound) { //GHP has found error. Flag is used by ExternalToolPass to decide whether to run or not synchronized(myDocumentToStatusMap) { FileStatus status = myDocumentToStatusMap.get(document); if (status == null){ if (!errorFound) return; status = ...
setErrorFoundFlag