String ( GrConditionalExpression exp) { final GrExpression thenExpression = exp.getThenBranch(); final GrExpression elseExpression = exp.getElseBranch(); final GrExpression condition = exp.getCondition(); assert thenExpression != null; assert elseExpression != null; if (isTrue(condition)) { return thenExpression.getText(); } else { return elseExpression.getText(); } }