+1

Indeed, the forward-ability is very powerful, because you are allowed to 
hide more implementation details.

Tom

At 14:04 15.11.01 +0000, you wrote:
>Hi,
>
>Would it be possible to add composition, where inheritance might be 
>inappropriate.
>
>For example if I want my class to behave like most of a collection class, 
>I could embed a ArrayList inside my class.  I could then
>select generate wrapper or forwarding, and from the methods I choose have 
>code generated to forward the methods onto the private
>instance variable.
>
>class MyCollection {
>     private ArrayList col = new ArrayList();
>
>     // generate ...
>     public void add(Object a) {
>         col.add(a);
>     }
>
>     ....
>}
>
>This would be extermely useful for decorator like patterns where behaviour 
>is being added selectively to some methods.
>
>There could also be an option to just generate all.
>
>Thanks,
>
>Duncan Godwin
>
>
>
>
>_______________________________________________
>Eap-features mailing list
>[EMAIL PROTECTED]
>http://www.intellij.com/mailman/listinfo/eap-features


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to