public @NlsContexts.Tooltip String getElementTooltip(T element) {
    final Set<? extends T> dependencies = getDependenciesOf(element);
    if(dependencies == null || dependencies.size() == 0) return null;

    String strings = dependencies.stream().map(NavigationItem::getName).collect(NlsMessages.joiningAnd());
    return RefactoringBundle.message("used.by.0", strings);
  }
public @NlsContexts.Tooltip String getElementTooltip(T element)