can now get the method that would be invoked with invoke()