# File lib/rgen/transformer.rb, line 366
  def copy_features(options={})
    hash = {}
    @current_object.class.ecore.eAllStructuralFeatures.each do |f|
      next if f.derived
      next if options[:except] && options[:except].include?(f.name.to_sym)
      hash[f.name.to_sym] = trans(@current_object.send(f.name))
    end
    hash.merge!(yield) if block_given?
    hash
  end