in reply to Re: how to name an anonymous reference
in thread how to name an anonymous reference
Yes, this is very close to what I was looking for.
In this particular language, enum type declarations are local to their enclosing annotation declarations; therefore I will go with http://www.perlmonks.org/?node_id=1205756