@Override
  public @NotNull OptPane getOptionsPane() {
    return pane(
      checkbox("ignoreInThenBranch", InspectionGadgetsBundle.message("unnecessary.return.option")));
  }
@Override
  public @NotNull OptPane getOptionsPane()