void (@NotNull JTextField common, FacetEditor @NotNull [] editors, @NotNull NotNullFunction<? super FacetEditor, ? extends JTextField> fun) { List<JTextField> componentsList = new ArrayList<>(); for (FacetEditor editor : editors) { componentsList.add(fun.fun(editor)); } TextFieldBinding binding = new TextFieldBinding(common, componentsList); myBindings.add(binding); }