public static function ofClass($fullName)
    {
        $result = self::of($fullName);
        if (!($result instanceof ClassType))
            throw new InvalidArgumentException("Argument 'fullName' does not describe a class.");
        return $result;
    }