bridge as class file, yaml format