Scrooge is a thrift code generator written in Scala, which currently generates code for Scala, Java, Cocoa, Android, and Lua. It’s meant to be a replacement for the Apache thrift code generator and generates conforming, binary-compatible codecs by building on top of libthrift. Since Scala is API-compatible with Java, you can use the apache thrift code generator to generate Java files and use them from within Scala, but the generated code uses Java collections and mutable “bean” classes, causing...