void (@Nullable Collection<String> enabledProfilesForXmlSerializer) { if (enabledProfilesForXmlSerializer != null) { if (myEnabledProfilesForXmlSerializer == enabledProfilesForXmlSerializer) return; // Called from XML Serializer myEnabledProfilesForXmlSerializer.retainAll(enabledProfilesForXmlSerializer); myEnabledProfilesForXmlSerializer.addAll(enabledProfilesForXmlSerializer); } }