Constructor reference target
함수형 descriptor의 arity가 constructor overload를 선택한다.
| Target | Constructor | 예 |
|---|---|---|
| Supplier<T> | 무인수 | StringBuilder::new |
| Function<A,T> | 인수 1개 | Label::new |
| BiFunction<A,B,T> | 인수 2개 | Point::new |
| IntFunction<T[]> | array length | String[]::new |
핵심: validation과 cache가 필요하면 이름 있는 factory method를 참조한다.