I know that I can pass a reference of a method to another method, like this:

```
foo(Bar::doBar); // or e.g.
foo(bar::doBar); // or e.g.
foo(this::doBar);

```

Is it possible to pass a reference to `new` operator?

Android studio says that I ought to replace a line like this:

```
(a, b) -> new Pair<>(a, b)

```

with a method reference to new. But how do I do that?