String (@NotNull PsiElement element) { final TextRange valueTextRange = getValueTextRange(element); if (valueTextRange.isEmpty()) return ""; final String text = element.getText(); if (valueTextRange.getEndOffset() > text.length()) { LOG.error("Wrong range for " + element + " text: " + text + " range " + valueTextRange); } return valueTextRange.substring(text); }