MemberChooser<ClassMember> (ClassMember[] members, boolean allowEmptySelection, boolean copyJavadocCheckbox, Project project) { final MemberChooser<ClassMember> chooser = super.createMembersChooser(members, allowEmptySelection, copyJavadocCheckbox, project); final List<ClassMember> preselection = preselect(members); if (!preselection.isEmpty()) { chooser.selectElements(preselection.toArray(ClassMember.EMPTY_ARRAY)); } return chooser; }