Hi,
> I need to generate an annotation which uses an external enumeration.
> With external I mean it is outside the generated code.
> Althoug managed to get a reference of the enumeration, using
> codeModel.ref() I do not get the enumeration value.
>
> Can anybody give me hint if this is even possible and if so how?
You need either Enum instance or JEnumConstant (which you can only
produce for JDefinedClass at the moment). So if you don't have the
class of your enum and it's not a generated class - then you can only
accomplish your task by hacking at the moment.
MfG,
/lexi