[forge-issues] [JBoss JIRA] (ROASTER-65) JavaInterfaceSource doesn't allow setting supertypes

Jens Krogsbøll (JIRA) issues at jboss.org
Tue Mar 15 08:55:00 EDT 2016


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

Jens Krogsbøll commented on ROASTER-65:
---------------------------------------

I dont see that JavaInterfaceSource.addInterface supports adding an interface class which is not available at the time of the code generation - if eg. you want to extend an interface being generated in the same build.

Or am I missing something?

I am in a situation where I need to generate interface A and subsequently generate interface B which extends interface A.

This seems to be not possible with addInterface, because it requires interface A to be available on the build path at generation time - which it is not.

> JavaInterfaceSource doesn't allow setting supertypes
> ----------------------------------------------------
>
>                 Key: ROASTER-65
>                 URL: https://issues.jboss.org/browse/ROASTER-65
>             Project: Roaster
>          Issue Type: Feature Request
>          Components: API, JDT
>    Affects Versions: 2.13.0.Final
>            Reporter: George Gastaldi
>             Fix For: 2.x Future
>
>




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



More information about the forge-issues mailing list