On Mon, Jun 27, 2011 at 10:33 PM, Seref Arikan <serefari...@gmail.com>wrote:

> Greetings,
> Both the Google tools and protostuff outputs in the form of Java classes
> are final. What is the reason for this?
>
I believe its mostly for performance.

> I was hoping I could create a layer that inherits the generated code and
> behaves differently, which is not possible due to final classes.

With protobuf, you could implement that with a custom code generator w/c
gets called by protoc.
With protostuff, simply extend(inherit) the existing ST templates and
override the behavior.

>
>
> Cheers
> Seref
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to protobuf@googlegroups.com.
> To unsubscribe from this group, send email to
> protobuf+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>



-- 
When the cat is away, the mouse is alone.
- David Yu

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to