binding.generater should use DefaultStateResolver