@NotNull
  private static EncapsulateFieldsDialog getDialog(@Nullable  Project project,
                                                   @NotNull EncapsulateFieldsDialog.EncapsulateFieldsContainer container) {
    return new EncapsulateFieldsDialog(project, container);
  }
@NotNull
  private static EncapsulateFieldsDialog getDialog(@Nullable  Project project,
                                                   @NotNull EncapsulateFieldsDialog.EncapsulateFieldsContainer container)