java: Primitive class names

Signed-off-by: Pekka Enberg <penberg@iki.fi>