# File lib/dm-core/property.rb, line 362
      def determine_class(type)
        if type < DataMapper::Property::Object
          return type
        end

        name  = DataMapper::Inflector.demodulize(type.name)
        klass = find_class(name)

        if !klass && type < DataMapper::Type
          klass = find_class(type.primitive.name)
        end

        klass
      end