I have the extern type in haxe:
package java.util;
@:native("java.util.List")
extern class List<T> {}
and contstruct ComplexType from it: var arrayComplexType = macro: java.util.List<$someType>;
Later in macro I can generate fields typed as java.util.List<SomeType>
in java.
Is it possible to generate fields typed as java.util.List<? extends SomeType>
?