String (PsiExpression expression) { if (expression instanceof PsiLiteralExpression) { final Object value = ((PsiLiteralExpression)expression).getValue(); if (value instanceof String) { return (String)value; } } return null; }