have CodeBean return some java code to ease testing