@Override
    protected @Nullable Usage createUsage(@NotNull ItemWithPresentation element) {
      if (element.getItem() instanceof Pointer<?>) {
        PsiElement psiElement = (PsiElement)((Pointer<?>)element.getItem()).dereference();
        return psiElement == null ? null : new UsageInfo2UsageAdapter(new UsageInfo(psiElement));
      }
      return null;
    }
@Override
    protected @Nullable Usage createUsage(@NotNull ItemWithPresentation element)