protected void collect(ProtoModule module, Proto proto,
            List<Proto> overridden, boolean compile) throws IOException
    {
        for (Proto p : proto.getImportedProtos())
            collect(module, p, overridden, compile);

        if (override(module, proto))
            overridden.add(proto);

        if (compile)
            compile(module, proto);
    }
Returns true if there was no previous formatter with the same name.
protostuff-compiler/src/main/java/io/protostuff/compiler/STCodeGenerator.java