OptPane () { return super.getOptionsPane() .prepend(stringList("ignoredTypes", InspectionGadgetsBundle.message("ignored.io.resource.types.label"), new JavaClassValidator().withTitle(InspectionGadgetsBundle.message("choose.io.resource.type.to.ignore")) .withSuperClass("java.io.Closeable"))); }