[JBoss JIRA] (ROASTER-44) Support writing of nested annotations
by Matt Benson (JIRA)
[ https://issues.jboss.org/browse/ROASTER-44?page=com.atlassian.jira.plugin... ]
Matt Benson reopened ROASTER-44:
--------------------------------
> Support writing of nested annotations
> -------------------------------------
>
> Key: ROASTER-44
> URL: https://issues.jboss.org/browse/ROASTER-44
> Project: Roaster
> Issue Type: Feature Request
> Components: API, JDT
> Affects Versions: 2.9.0.Final
> Reporter: George Gastaldi
> Fix For: 2.0.0.Final
>
>
> Roaster should allow annotation nesting, like:
> {code}
> @NamedQueries({
> @NamedQuery(name="Customer.findAll", query="select C from Customer C"),
> @NamedQuery(name="Customer.findByName", query="select C from Customer C where C.name = :name"),
> @NamedQuery(name="Customer.findById", query="select C from Customer C where C.id = :id")
> })
> @Entity
> public class Customer {...}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 2 months
[JBoss JIRA] (ROASTER-44) Support writing of nested annotations
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-44?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on ROASTER-44:
----------------------------------------
This test doesn't illustrate nested annotation arrays. How one would write code using Roaster to create the annotation in the issue description?
> Support writing of nested annotations
> -------------------------------------
>
> Key: ROASTER-44
> URL: https://issues.jboss.org/browse/ROASTER-44
> Project: Roaster
> Issue Type: Feature Request
> Components: API, JDT
> Affects Versions: 2.9.0.Final
> Reporter: George Gastaldi
> Fix For: 2.0.0.Final
>
>
> Roaster should allow annotation nesting, like:
> {code}
> @NamedQueries({
> @NamedQuery(name="Customer.findAll", query="select C from Customer C"),
> @NamedQuery(name="Customer.findByName", query="select C from Customer C where C.name = :name"),
> @NamedQuery(name="Customer.findById", query="select C from Customer C where C.id = :id")
> })
> @Entity
> public class Customer {...}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 2 months
[JBoss JIRA] (ROASTER-44) Support writing of nested annotations
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-44?page=com.atlassian.jira.plugin... ]
George Gastaldi updated ROASTER-44:
-----------------------------------
Description:
Roaster should allow annotation nesting, like:
{code}
@NamedQueries({
@NamedQuery(name="Customer.findAll", query="select C from Customer C"),
@NamedQuery(name="Customer.findByName", query="select C from Customer C where C.name = :name"),
@NamedQuery(name="Customer.findById", query="select C from Customer C where C.id = :id")
})
@Entity
public class Customer {...}
{code}
was:
Roaster should allow annotation nesting, like:
{code}
@NamedQueries({
@NamedQuery(name="Customer.findAll", query="select C from Customer C")
})
@Entity
public class Customer {...}
{code}
> Support writing of nested annotations
> -------------------------------------
>
> Key: ROASTER-44
> URL: https://issues.jboss.org/browse/ROASTER-44
> Project: Roaster
> Issue Type: Feature Request
> Components: API, JDT
> Affects Versions: 2.9.0.Final
> Reporter: George Gastaldi
> Fix For: 2.0.0.Final
>
>
> Roaster should allow annotation nesting, like:
> {code}
> @NamedQueries({
> @NamedQuery(name="Customer.findAll", query="select C from Customer C"),
> @NamedQuery(name="Customer.findByName", query="select C from Customer C where C.name = :name"),
> @NamedQuery(name="Customer.findById", query="select C from Customer C where C.id = :id")
> })
> @Entity
> public class Customer {...}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 2 months
[JBoss JIRA] (ROASTER-44) Support writing of nested annotations
by Matt Benson (JIRA)
[ https://issues.jboss.org/browse/ROASTER-44?page=com.atlassian.jira.plugin... ]
Matt Benson reopened ROASTER-44:
--------------------------------
Assignee: (was: George Gastaldi)
Sorry, no... I thought we were talking about creating nested annotation definitions.
> Support writing of nested annotations
> -------------------------------------
>
> Key: ROASTER-44
> URL: https://issues.jboss.org/browse/ROASTER-44
> Project: Roaster
> Issue Type: Feature Request
> Components: API, JDT
> Affects Versions: 2.9.0.Final
> Reporter: George Gastaldi
> Fix For: 2.1.0.Final
>
>
> Roaster should allow annotation nesting, like:
> {code}
> @NamedQueries({
> @NamedQuery(name="Customer.findAll", query="select C from Customer C")
> })
> @Entity
> public class Customer {...}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 2 months