Re: Is there a way to write a generator to write the same code from the original class?

2008-08-30 Thread Marcelo Emanoel
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 th

Re: Is there a way to write a generator to write the same code from the original class?

2008-08-30 Thread Adam T
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 PROTE

Is there a way to write a generator to write the same code from the original class?

2008-08-26 Thread Marcelo Emanoel
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