]
Kai Müller commented on ROASTER-100:
------------------------------------
[~gastaldi]: What do you think?
Can't add array of annotations as annotation value
--------------------------------------------------
Key: ROASTER-100
URL:
https://issues.jboss.org/browse/ROASTER-100
Project: Roaster
Issue Type: Feature Request
Components: API
Affects Versions: 2.18.4.Final
Reporter: Simone D'Avico
Priority: Major
Fix For: 2.x Future
It is not currently possible to generate an annotation such as
{code:java}
@MatrixMix (
mix = { @Row({ 50, 50, 50, 50 ,50 }),
@Row({ 50, 50, 50, 50 ,50 }),
@Row({ 50, 50, 50, 50 ,50 }) }
)
{code}
The only workaround is to treat the array as a String and set it as a literal, as
discussed [
here|https://developer.jboss.org/message/953302]. It would be nice to add this
capability to the API.