That's the point :) I don't want to force the developer to modify his
code... I'm doing something that should be "unnoticed" and do its
job... kind of AOP... the user can continue to use the private
fields... I kind of achieved this with a solution... adding a
protected class as a new member on the original class... so there I
can do all I want with the fields :) like add new Listeners :) and the
code remains the same :D and then after all of it... I generate
another class that extends the original one and finally instantiate
the protected member and initialize the listeners :D

On Aug 30, 12:11 pm, Adam T <[EMAIL PROTECTED]> wrote:
> you would normally write the Generator such that it extends your
> original class, then, through the normal rules of inheritence, the
> generated class would have access to all the "input" classes methods
> (assuming they are public or protected).
>
> //Adam
>
> On 27 Aug, 04:56, Marcelo Emanoel <[EMAIL PROTECTED]> wrote:
>
> > Hi there people :D
>
> > I'm developing a generator and I need just to implement the same class
> > with some other methods generated...
> > is there a way to read the content of a method or class?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to