codegen: implement generated code compilation

This change is required for reflection engine to being able collecting
generated Java bindings metadata.

Change-Id: Ib4a86d9f91b6ce47ae76128f7faabf52dfd401d5
Signed-off-by: Michael pasternak <mpastern@redhat.com>