private static function retrieveNameOfSuperclassFor($className)
    {
        $parents = self::hierarchy($className);

        return (true === empty($parents))
            ? $className
            : $parents[count($parents) - 1]->name;
    }