public String calculateValue() {
      final PsiType formatType = myExpression.getType();
      if (formatType == null) {
        return null;
      }
      return (String)ConstantExpressionUtil.computeCastTo(myExpression, formatType);
    }
public String calculateValue()