java/translator: invokevirtual

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