Hi,
> I try to generate that code:
>
>> Arrays.<Bar>asList( new BarA(), new BarB() ).
>
>
> The closest I get to:
>
> model.ref( Arrays.class ).staticInvoke( "asList" ).arg( expression
> ).arg( expression)...
>
> But I can't find a way to add the type parameter... Any hints?
Seems to be not possible at the moment. There should be probably
something like JInvocation.narrow(JClass...)
Please file an issue.
Bye.
/lexi