@Target(ElementType.ANNOTATION_TYPE)
public @interface MyParameterAnn {
int p1();
int p2() default 0;
}
@Target(ElementType.METHOD)
@Inherited
public @interface MyAnn {
int p1();
MyParameterAnn pa() default @MyParameterAnn(p1 = 0);
}
Its valid, right?
Well, when I'm compile my code, I have this error:
Syntax error on token "@", delete this token
...
p1 cannot be resolved
...
Syntax error on token ",", delete this token
recursivally from each parameter of MyParameterAnn.
Any tip to use or resolv this?
tks
Josivan
James
--
You received this message because you are subscribed to the Google Groups "GWT-Ent Developer Forum" group.
To post to this group, send email to gwt...@googlegroups.com.
To unsubscribe from this group, send email to gwt-ent+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gwt-ent?hl=en.