[forge-issues] [JBoss JIRA] (ROASTER-100) Can't add array of annotations as annotation value

Simone D'Avico (JIRA) issues at jboss.org
Wed Mar 23 05:10:00 EDT 2016


Simone D'Avico created ROASTER-100:
--------------------------------------

             Summary: 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


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. [here|https://developer.jboss.org/message/953302]. It would be nice to add this capability to the API.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list