private static boolean isSelfUsage(@NotNull PsiElement element, PsiElement psiElement) {
    return element.getParent() == psiElement; // self usage might be configurable
  }
private static boolean isSelfUsage(@NotNull PsiElement element, PsiElement psiElement)