public class IdentifierHighlighterPass extends TextEditorHighlightingPass
EMPTY_ARRAY, myDocument, myProject
Modifier and Type | Method and Description |
---|---|
static void |
clearMyHighlights(Document document,
Project project) |
void |
doApplyInformationToEditor() |
void |
doCollectInformation(ProgressIndicator progress) |
static Couple<java.util.Collection<TextRange>> |
getHighlightUsages(PsiElement target,
PsiElement psiElement,
boolean withDeclarations)
Returns read and write usages of psi element inside a single element
|
static java.util.Collection<TextRange> |
getUsages(PsiElement target,
PsiElement psiElement,
boolean withDeclarations)
Returns usages of psi element inside a single element
|
applyInformationToEditor, collectInformation, getColorsScheme, getCompletionPredecessorIds, getDocument, getId, getInfos, getStartingPredecessorIds, isDumbMode, isRunIntentionPassAfter, isValid, setColorsScheme, setCompletionPredecessorIds, setId, setStartingPredecessorIds, toString
public void doCollectInformation(ProgressIndicator progress)
doCollectInformation
in class TextEditorHighlightingPass
public static Couple<java.util.Collection<TextRange>> getHighlightUsages(PsiElement target, PsiElement psiElement, boolean withDeclarations)
target
- target psi elementpsiElement
- psi element to search inpublic static java.util.Collection<TextRange> getUsages(PsiElement target, PsiElement psiElement, boolean withDeclarations)
target
- target psi elementpsiElement
- psi element to search inpublic void doApplyInformationToEditor()
doApplyInformationToEditor
in class TextEditorHighlightingPass