Added switch for class in JRuby case