String (GrClosableBlock block) { final GrStatement statement = block.getStatements()[0]; final GrExpression expr; if (statement instanceof GrReturnStatement) { expr = ((GrReturnStatement)statement).getReturnValue(); } else { expr = (GrExpression)statement; } return prepareExpression(expr); }