MemberChooser<T> (T[] elements) { final MemberChooser<T> chooser = new MemberChooser<>(elements, myAllowEmptySelection, myAllowMultiSelection, myProject, myIsInsertOverrideVisible, myHeaderPanel); if (myTitle != null) { chooser.setTitle(myTitle); } chooser.setCopyJavadocVisible(myIsCopyJavadocVisible); return chooser; }