OptPane () { return pane( horizontalStack( stringList("queryNames", InspectionGadgetsBundle.message("query.label")), stringList("updateNames", InspectionGadgetsBundle.message("update.label")) ), stringList("ignoredClasses", InspectionGadgetsBundle.message("ignored.class.label"), new JavaClassValidator().withTitle(InspectionGadgetsBundle.message("ignored.class.names")) .withSuperClass(CommonClassNames.JAVA_UTIL_COLLECTION, CommonClassNames.JAVA_UTIL_MAP)) ); }