private @Nullable PsiElement getFirstElementFromNode(@Nullable Object node) {
    return ContainerUtil.getFirstItem(getElementsFromNode(node));
  }
private @Nullable PsiElement getFirstElementFromNode(@Nullable Object node)