String () { TreeElement firstChildNode = getFirstChildNode(); if (firstChildNode == null) { return ""; } else if (firstChildNode == getLastChildNode()) { if (firstChildNode instanceof ForeignLeafPsiElement) { return ""; } return firstChildNode.getText(); } return new String(textToCharArray()); }