ModCommand (@NotNull PsiField field, List<? extends @NotNull MemberChooserElement> chosenMembers) { return ModCommand.psiUpdate(field, (writableField, updater) -> { List<PsiMethod> writableConstructors = ContainerUtil.map(chosenMembers, member -> updater.getWritable(((PsiMethodMember)member).getElement())); addFieldInitialization(writableConstructors, writableField, updater); }); }