users@codemodel.java.net

Re: Annotation: Parameter and public static final field

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Fri, 10 Sep 2010 23:30:59 +0200

Hi,

> I'd like to add a public static final field as value to an annotation.
> This seems to be unsupported...
>
> Any hints?

Indeed, not supported without hacking. I've added
JAnnotationUse.param(String name, JExpression value). Would you please
file an issue so that we could keep track of changes?

Bye.
/lexi