contrib/java_parser: Added type mapping and case conversion

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>