public static Function<Object,String[]> methodForArrayOfString(final String methodName, final Object... optionalParameters) {
        return new Call<Object,String[]>(Types.ARRAY_OF_STRING, methodName, VarArgsUtil.asOptionalObjectArray(Object.class,optionalParameters));
    }
public static Function < Object , String [ ] > methodForArrayOfString ( final String methodName , final Object ... optionalParameters ) { return new Call < Object , String [ ] > ( Types . ARRAY_OF_STRING , methodName , VarArgsUtil . asOptionalObjectArray ( Object . class , optionalParameters ) ) ; }
<p>
Executes a method on the target object which returns String[]. Parameters must match
those of the method.
</p>

@param methodName the name of the method
@param optionalParameters the (optional) parameters of the method.
@return the result of the method execution