String () { PsiElement element = getTag() != null ? getTag().getNextSibling() : getFirstChild(); while (element != null && !(element instanceof YAMLScalar)) { element = element.getNextSibling(); } if (element != null) { return ((YAMLScalar)element).getTextValue(); } else { return "<compoundValue:" + Integer.toHexString(getText().hashCode()) + ">"; } }