You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, it doesn't surprise me that this doesn't work. We don't dig deeply into the string value here, we just tell CodeModel to use the string as a type verbatim.
I'll take a look at this for the next release though. I've recently done some work to support endlessly nestable generics in javaType so it should be possible to reuse that here.
joelittlejohn
changed the title
Implemented 'javaInterfaces' which contain generics produce syntacticly incorrect imports
'javaInterfaces' which contain generics produce syntactically incorrect imports
Aug 4, 2015
If is have:
Then the generated class incorrectly contains:
import com.example.IMyThing<String>;
It does however correctly state:
public class MyThing implements IMyThing<String>
This is a necessary usecase for me where an existing set of interfaces, currently used for RMI, are being JSON wrapped for web exposure.
The text was updated successfully, but these errors were encountered: