void (@NonNls String fieldName, @NlsContexts.Label String title, @NlsContexts.Label String groupName) { try { Class<?> styleSettingsClass = CommonCodeStyleSettings.class; Field field = styleSettingsClass.getField(fieldName); String actualGroupName = getRemappedGroup(fieldName, groupName); BooleanOptionKey key = new BooleanOptionKey(fieldName, getRenamedTitle(actualGroupName, actualGroupName), getRenamedTitle(fieldName, title), field); myKeys.add(key); } catch (NoSuchFieldException | SecurityException e) { LOG.error(e); } }