[forge-issues] [JBoss JIRA] (ROASTER-11) Auto generated imports when the super class is set causes .java file to not compile.

Stephan Windmüller (JIRA) issues at jboss.org
Tue Nov 22 16:47:00 EST 2016


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

Stephan Windmüller commented on ROASTER-11:
-------------------------------------------

My thought exactly. Pushing in a few moments...

> Auto generated imports when the super class is set causes .java file to not compile.
> ------------------------------------------------------------------------------------
>
>                 Key: ROASTER-11
>                 URL: https://issues.jboss.org/browse/ROASTER-11
>             Project: Roaster
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.2.0.Final
>            Reporter: Walter Medvedeo
>            Assignee: Stephan Windmüller
>             Fix For: 2.x Future
>
>
> Similar as for fields, when the super type for a JavaClassSource is set, an import is automatically generated.  It's desirable to have 
> setSuperType( X, boolean addImports) method that just change the super type name and don't add imports.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the forge-issues mailing list