code: function _gpfAttributesGet (objectOrClass, baseAttributeClass) {
      var classConstructor;
      if (typeof objectOrClass === "function") {
          classConstructor = objectOrClass;
      } else {
          classConstructor = _gpfAttributesGetConstructorFrom(objectOrClass);
      }
      return _gpfAttributesGetFromClass(classConstructor, baseAttributeClass);
  }
docs: Get attributes defined for the object / class
  
  @param {Object|Function} objectOrClass Object instance or class constructor
  @param {gpf.attributes.Attribute} [baseAttributeClass] Base attribute class used to filter results
  @return {Object} Dictionary of attributes grouped per members,
  the special member $attributes is used for attributes set at the class level.
  @throws {gpf.Error.InvalidParameter}
  @since 0.2.4