Cast the return value to the given type. Example: Our current signature is (String)String but the method this handle will eventually call returns CharSequence. binder = binder.castReturn(CharSequence.class); Our handle will now successfully find and call the target method and propagate the returned CharSequence as a String.
@param type the new type for the return value
@return a new SmartBinder
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.