private static @Nullable Object getSlowData(@NotNull String dataId, @NotNull List<Object> selection) {
    if (CommonDataKeys.PSI_ELEMENT.is(dataId)) {
      Object single = ContainerUtil.getOnlyItem(selection);
      return single == null ? null : getPsiElementForHint(single);
    }
    return null;
  }
private static @Nullable Object getSlowData(@NotNull String dataId, @NotNull List<Object> selection)