esk-java: fixed code generation for empty structs