void (PairT pairT) { switch (pairT) { case PairT(T1 t1, T11(T1 t12, T2 t22)) -> System.out.println(53714); case PairT(T1 t1, T11(T2 t12, T2 t22)) -> System.out.println(1); case PairT(T1 t1, T11(T t12, T1 t22)) -> System.out.println(1); case PairT(T1 t1, T12 t2) -> System.out.println(1); case PairT(T2 t1, T1 t2) -> System.out.println(1); case PairT(T t1, T2 t2) -> System.out.println(1); } }