Scott Allan wrote:
>
> How can I create an annotation with a plugin that looks like this?
> @IdClass(PersonPK.class)
This is a short form of @IdClass(value=PersonPK.class).
So if you do:
annotationUse.annotate(...).param("value", ... );
then CodeModel will produce the short form @IdClass(PersonPK.class)
whenever it can.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com