public static function setClassAttributes($className, AttributeSet $attributes)
    {
        if (self::attributesSetFor($className)) {
            throw new Exception\RuntimeException(
                srptinf("Attributes already set for class %s", $className)
            );
        }
        self::$classAttributes[$className] = $attributes;
    }