Regards
Heinz
--
Dr Heinz M. Kabutz (PhD CompSci)
Author of "The Java(tm) Specialists' Newsletter"
Sun Java Champion
http://www.javaspecialists.eu
Tel: +30 69 72 850 460
Skype: kabutz
On 8/15/10 8:06 PM, Marco Tedone wrote:
> It�s a pity that annotations can�t be extended, otherwise we could
> have had a DefaultPattern as follows:
>
> package org.jpatterns.core;
>
> public @interface DefaultPattern {
>
> Class[] participants() default {};
>
> String comment() default ��;
>
> }
>
> And then any �sub-annotation in a pattern� could have just �extended
> the above interface (I mean interface extends interface, don�t get me
> wrong :-) )
>
>