CharSequence () { TreeElement firstChildNode = getFirstChildNode(); if (firstChildNode == null) { return ""; } else if (firstChildNode == getLastChildNode()) { return firstChildNode.getChars(); } return getText(); }