Java API 

...Fixed small bug in ClassBasedRowReader which caused problems when data were read into Java beans. Added type converters for boxed Java primitive types. Added SparkDriverJavaUtil with methods which help in development of Java applications. fixes #11
I'd extract it to JavaAPIHelper as well. Generally, I'd be very careful with using those MODULE$ things from Java - not sure if they won't change in the future. Better do that on Scala side.