protected function parseFromClassComment(\ReflectionClass $reflection)
    {
        $result       = [];
        $dependencies = self::getAnnotationReader()->getClassAnnotations($reflection);

        // Iterate the dependencies found ...
        /* @var $dependency \Doozr\Loader\Serviceloader\Annotation\Inject */
        foreach ($dependencies as $key => $dependency) {
            if (
                $dependency->type   === Doozr_Di_Constants::INJECTION_TYPE_CONSTRUCTOR &&
                $dependency->target !== Doozr_Di_Constants::CONSTRUCTOR_METHOD
            ) {
                $dependency->constructor = $dependency->target;
            } else {
                $dependency->constructor = Doozr_Di_Constants::CONSTRUCTOR_METHOD;
            }

            /*
            if (false === isset($result[$dependency->id])) {
                $result[$dependency->id] = [];
            }

            $result[$dependency->id][] = object_to_array($dependency);
            */

            $result[] = object_to_array($dependency);
        }

        return $result;
    }