public static String generateTimestamp(Message extend, Message by)
    {
        return "Extended by " + by.getName() + " at " + new Date();
    }
Kind of preprocessor for proto files. Able to extend one messages with fields from other ones.

@author Ivan Prisyazhniy, Igor Scherbak
@created Mar 9, 2012
protostuff-compiler/src/main/java/io/protostuff/compiler/ProtoToProtoCompiler.java