Hi Andrew,

On Wed, Jan 30, 2008 at 11:41 PM, Andrew Robinson <
[EMAIL PROTECTED]> wrote:

> My proposal:
>
> To simplify let me use <my:foo> that should be used to create
> MyFooComponent.java. I want to customize the broadcast method of this
> component.
>
> One alternative (my choice), as already mentioned is to have the plugin
> add code to the class. Instead of using something like:
> /* START AUTOGENERATED CODE */
> /* END AUTOGENERATED CODE */
>
> The code could produce:
>
>   @Generated
>   private boolean _foo;
>
>   @Generated
>   public boolean isFooSet() { retun _foo; }
>

honestly - it would be a lot easier to have simple markers than annotations,
and I don't see how the annotations make it any better  (if you want, you
can generate a small comment ahead of every field/method which says
generated).

regards,

Martin

Reply via email to