support the --java:bean thrift compiler flag