implemented java mapping generator