I have the following problem:
I want to make a java feature call to a method that was declared in a static extension class:
var response response = ...
var int result = response.javaCall("testing")
Now I need to implicitly add the type of the left side of this assignment to the parameters that this function will be invoked with, because the original signature is like this:
(It's legacy code and the users can't be bothered to know about java types.)
public static <T> T javaCall(Response response, String in, Class<T> type)
If this is possible, how can this be done?
Thanks for any hints
[Updated on: Thu, 05 June 2014 20:09]
Report message to a moderator