OptPane () { 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"))); }