single interface generator for genjava.