@Override
    public void compile(ProtoModule module, Proto proto) throws IOException
    {
        String javaPackageName = proto.getJavaPackageName();
        String template = module.getOption("separate_schema") == null ?
                "java_bean" : "java_bean_separate_schema";
        StringTemplateGroup group = getSTG(template);

        writeEnums(module, proto, javaPackageName, group);

        writeMessages(module, proto, javaPackageName, group);
    }
Compiles proto files to protobuf java messages (pojos).

@author David Yu
@created Jan 4, 2010
protostuff-compiler/src/main/java/io/protostuff/compiler/ProtoToJavaBeanCompiler.java