String (PsiMethod method, PsiClass cls) { final UExpression expression = PsiUtil.getReturnedExpression(method); if (expression == null) return null; if (expression instanceof UReferenceExpression) { final String methodName = ((UReferenceExpression)expression).getResolvedName(); if ("getSimpleName".equals(methodName)) { return cls.getName(); } } return UastUtils.evaluateString(expression); }