Wasn't  this code removed? We now use the java module to deal with entire case statement