private [scala] val asJavaXXX for all.