protected void compile(ProtoModule module, Proto proto, boolean compileImports,
            boolean recursive) throws IOException
    {
        final List<Proto> overridden = new ArrayList<Proto>();
        try
        {
            collect(module, proto, overridden, recursive);

            if (!recursive)
            {
                compile(module, proto);
                if (compileImports)
                {
                    for (Proto p : proto.getImportedProtos())
                        compile(module, p);
                }
            }
        }
        finally
        {
            for (Proto p : overridden)
                postCompile(module, p);
        }
    }
Returns true if there was no previous formatter with the same name.
protostuff-compiler/src/main/java/io/protostuff/compiler/STCodeGenerator.java