docs: def setNamingConvention(self, namingConvention):
          """
      :type namingConvention: INamingConvention
  """
          # Remove getters and setters with old naming convention.
          self._removeSyntheticMembers()
          
          # Set new naming convention.
          self._syntheticMetaData().setNamingConvention(namingConvention)
  
          # Update constructor and recreate accessors.
          self._updateConstructorAndMembers()