java: CONSTANT_NameAndType parsing

Signed-off-by: Pekka Enberg <penberg@kernel.org>