@Nullable
  public static <T extends PsiElement> HighlightUsagesHandlerBase<T> createCustomHandler(@NotNull Editor editor, @NotNull PsiFile file) {
    ThreadingAssertions.assertEventDispatchThread();
    ProperTextRange visibleRange = editor.calculateVisibleRange();
    return createCustomHandler(editor, file, visibleRange);
  }
@Nullable
  public static <T extends PsiElement> HighlightUsagesHandlerBase<T> createCustomHandler(@NotNull Editor editor, @NotNull PsiFile file)