[forge-issues] [JBoss JIRA] (ROASTER-46) addAnnotation should add automatically import

Nicolas Challut (JIRA) issues at jboss.org
Fri Nov 21 10:21:40 EST 2014


    [ https://issues.jboss.org/browse/ROASTER-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021973#comment-13021973 ] 

Nicolas Challut commented on ROASTER-46:
----------------------------------------

You could use : {code:java} propertySource.getField().addAnnotation("javax.persistence.Column"); {code} if you need.

> addAnnotation should add automatically import
> ---------------------------------------------
>
>                 Key: ROASTER-46
>                 URL: https://issues.jboss.org/browse/ROASTER-46
>             Project: Roaster
>          Issue Type: Bug
>          Components: JDT
>    Affects Versions: 2.9.0.Final
>         Environment: Window 7 x86_64
>            Reporter: Nicolas Challut
>
> It would be nice if AnnotationSource could automatically import the Annotation class when setName is called. Also,  a {{setName(Class<? extends Annotation>)}} should be provided 



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the forge-issues mailing list