mixinDetailsForObject(object) {
    const mixins = [];

    const own = ownMixins(object);

    const objectMixin = {
      id: guidFor(object),
      name: getObjectName(object),
      properties: ownProperties(object, own),
    };

    mixins.push(objectMixin);

    // insert ember mixins
    for (let mixin of own) {
      let name = (
        mixin.ownerConstructor ||
        emberNames.get(mixin) ||
        ''
      ).toString();

      if (!name && typeof mixin.toString === 'function') {
        try {
          name = mixin.toString();

          if (name === '(unknown)') {
            name = '(unknown mixin)';
          }
        } catch {
          name = '(Unable to convert Object to string)';
        }
      }

      const mix = {
        properties: propertiesForMixin(mixin),
        name,
        isEmberMixin: true,
        id: guidFor(mixin),
      };

      mixins.push(mix);
    }

    const proto = Object.getPrototypeOf(object);

    if (proto && proto !== Object.prototype) {
      mixins.push(...this.mixinDetailsForObject(proto));
    }

    return mixins;
  }
This function, and the rest of Ember Inspector, currently refer to the
output entirely as mixins. However, this is no longer accurate! This has
been refactored to return a list of objects that represent both the classes
themselves and their mixins. For instance, the following class definitions:

```js
class Foo extends EmberObject {}

class Bar extends Foo {}

class Baz extends Bar.extend(Mixin1, Mixin2) {}

let obj = Baz.create();
```

Will result in this in the inspector:

```
- Own Properties
- Baz
- Mixin1
- Mixin2
- Bar
- Foo
- EmberObject
```

The "mixins" returned by this function directly represent these things too.
Each class object consists of the actual own properties of that class's
prototype, and is followed by the mixins (if any) that belong to that
class. Own Properties represents the actual own properties of the object
itself.

TODO: The rest of the Inspector should be updated to reflect this new data
model, and these functions should be updated with new names. Mixins should
likely be embedded _on_ the class definitions, but this was designed to be
backwards compatible.