String (PsiLiteralExpression expression) { String text = expression.getText(); int textLength = text.length(); if (textLength > 1 && text.charAt(0) == '\"' && text.charAt(textLength - 1) == '\"') { return text.substring(1, textLength - 1); } if (textLength > QUOT.length() && text.startsWith(QUOT) && text.endsWith(QUOT)) { return text.substring(QUOT.length(), textLength - QUOT.length()); } return null; }