I need a function that accepts both types of arguments and has the same body.
How can I do it?
For example:

```
// I have:
public someFunction(Pageable input) { the same body }
public someFunction(Sort input) { the same body }

// I need
public someFunction(PageableOrSort input) {the same body}

```