reflect to get method args