@Override
  public @NotNull OptPane getOptionsPane() {
    return OptPane.pane(checkbox("tryToPreserveUnusedVariables",
                                 JavaBundle.message("inspection.message.pattern.variables.can.be.replaced.with.cast.preserve.option")));
  }
@Override
  public @NotNull OptPane getOptionsPane()