java. Better pdef generation config.