}
//endregion
highlightManager.addOccurrenceHighlights(
editor, usages.toArray(new PsiElement[usages.size()]), textattributes, false, null);
final WindowManager windowManager = WindowManager.getInstance();
final StatusBar statusBar = windowManager.getStatusBar(project);
assert statusBar != null;
statusBar.setInfo("Press Esc to remove highlighting");
}