Tuple5OfNullablesImpl extends AbstractTupleOfNullables implements Tuple5OfNullables<T0, T1, T2, T3, T4> { @SuppressWarnings("unchecked") @Override public Optional<T1> get1() { return Optional.ofNullable((T1) values[1]); } Tuple5OfNullablesImpl(
            T0 e0,
            T1 e1,
            T2 e2,
            T3 e3,
            T4 e4); @SuppressWarnings("unchecked") @Override Optional<T0> get0(); @SuppressWarnings("unchecked") @Override Optional<T1> get1(); @SuppressWarnings("unchecked") @Override Optional<T2> get2(); @SuppressWarnings("unchecked") @Override Optional<T3> get3(); @SuppressWarnings("unchecked") @Override Optional<T4> get4();  }
@Test void get1Test() { assertEquals(1, (int) instance.get1().orElseThrow(NoSuchElementException::new)); }