boolean (Object obj) { if (obj instanceof CommonCodeStyleSettingsManager other) { if (getCommonSettingsMap().size() != other.getCommonSettingsMap().size() || myUnknownSettingsMap.size() != other.myUnknownSettingsMap.size()) { return false; } for (String langId : myCommonSettingsMap.keySet()) { CommonCodeStyleSettings theseSettings = myCommonSettingsMap.get(langId); CommonCodeStyleSettings otherSettings = other.myCommonSettingsMap.get(langId); if (!theseSettings.equals(otherSettings)) return false; } return true; } return false; }