Closed sviperll closed 10 years ago
Currently this is not possible. I'm trying to find a solution to this
I think I found a solution. Example code can be found in class com.helger.jcodemodel.tests.JInvocationTest Please check if this fits your needs. If so I will release 2.6.5
Your JInvocation#generify
method should be called narrow
instead. It corresponds to JClass#narrow
method and specifies narrowing method-type to more specific.
You are so right - changed! Can I close this issue?
I consider this issue is fixed now. Thank you for your work!
Excellent - new release will be out soon!
Release 2.7.0 out now
We need to explicitly state type-arguments sometimes when invoking methods, like in
I've found no way to generate this with codemodel.