@Override
  public @NotNull OptPane getOptionsPane() {
    return pane(
      checkbox("insideTryAllowed", InspectionGadgetsBundle.message("allow.resource.to.be.opened.inside.a.try.block")),
      checkbox("anyMethodMayClose", InspectionGadgetsBundle.message("any.method.may.close.resource.argument")));
  }
@Override
  public @NotNull OptPane getOptionsPane()