OptPane () { return pane( checkbox("IGNORE_DEPRECATED_ELEMENTS", JavaBundle.message("inspection.javadoc.option.ignore.deprecated")), checkbox("IGNORE_ACCESSORS", JavaBundle.message("inspection.javadoc.option.ignore.simple")), checkboxPanel( PACKAGE_SETTINGS.getComponent(JavaBundle.message("inspection.javadoc.option.tab.title.package"), List.of(), List.of("@author", "@version", "@since")) .prefix("PACKAGE_SETTINGS"), MODULE_SETTINGS.getComponent(JavaBundle.message("inspection.javadoc.option.tab.title.module"), List.of(), List.of("@author", "@version", "@since")) .prefix("MODULE_SETTINGS"), TOP_LEVEL_CLASS_SETTINGS.getComponent(JavaBundle.message("inspection.javadoc.option.tab.title"), List.of(PUBLIC, PACKAGE_LOCAL), List.of("@author", "@version", "@since", "@param")) .prefix("TOP_LEVEL_CLASS_SETTINGS"), METHOD_SETTINGS.getComponent(JavaBundle.message("inspection.javadoc.option.tab.title.method"), List.of(PUBLIC, PROTECTED, PACKAGE_LOCAL, PRIVATE), List.of("@return", "@param", NlsMessages.formatOrList(List.of("@throws", "@exception")))) .prefix("METHOD_SETTINGS"), FIELD_SETTINGS.getComponent(JavaBundle.message("inspection.javadoc.option.tab.title.field"), List.of(PUBLIC, PROTECTED, PACKAGE_LOCAL, PRIVATE), List.of()) .prefix("FIELD_SETTINGS"), INNER_CLASS_SETTINGS.getComponent(JavaBundle.message("inspection.javadoc.option.tab.title.inner.class"), List.of(PUBLIC, PROTECTED, PACKAGE_LOCAL, PRIVATE), List.of()) .prefix("INNER_CLASS_SETTINGS") ) ); }