Java and Ruby design mode