List<PatternTypeTestDescription> (@NotNull Collection<PatternDeconstructionDescription> setWithOneDifferentElement, int i) { return StreamEx.of(setWithOneDifferentElement) .map(t -> t.list().get(i)) .select(PatternTypeTestDescription.class) .toList(); }