Support AsJava/AsScala
Fix for 2.10
Merge pull request #159 from twitter/asjava

Support AsJava/AsScala