boolean (Object obj) { if (!(obj instanceof CodeStyleSettings)) return false; if (!ReflectionUtil.comparePublicNonFinalFields(this, obj)) return false; if (!mySoftMargins.equals(((CodeStyleSettings)obj).mySoftMargins)) return false; if (!myExcludedFiles.equals(((CodeStyleSettings)obj).getExcludedFiles())) return false; if (!OTHER_INDENT_OPTIONS.equals(((CodeStyleSettings)obj).OTHER_INDENT_OPTIONS)) return false; if (!myCommonSettingsManager.equals(((CodeStyleSettings)obj).myCommonSettingsManager)) return false; for (CustomCodeStyleSettings customSettings : myCustomCodeStyleSettingsManager.getAllSettings()) { if (!customSettings.equals(((CodeStyleSettings)obj).getCustomSettings(customSettings.getClass()))) return false; } return true; }