public @Nullable YAMLValue getMetaOwner(@NotNull PsiElement psi) {
    PsiFile file = psi.getContainingFile();
    if (!(file instanceof YAMLFile)) {
      return null;
    }
    return getTypedAncestorOrSelf(psi, YAMLValue.class);
  }
public @Nullable YAMLValue getMetaOwner(@NotNull PsiElement psi)