Tuple10OfNullablesImpl extends AbstractTupleOfNullables implements Tuple10OfNullables<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> { @SuppressWarnings("unchecked") @Override public Optional<T5> get5() { return Optional.ofNullable((T5) values[5]); } Tuple10OfNullablesImpl(
            T0 e0,
            T1 e1,
            T2 e2,
            T3 e3,
            T4 e4,
            T5 e5,
            T6 e6,
            T7 e7,
            T8 e8,
            T9 e9); @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(); @SuppressWarnings("unchecked") @Override Optional<T5> get5(); @SuppressWarnings("unchecked") @Override Optional<T6> get6(); @SuppressWarnings("unchecked") @Override Optional<T7> get7(); @SuppressWarnings("unchecked") @Override Optional<T8> get8(); @SuppressWarnings("unchecked") @Override Optional<T9> get9();  }
@Test void get5Test() { assertEquals(5, (int) instance.get5().orElseThrow(NoSuchElementException::new)); }