public function newAnnotatedDependency(\ReflectionClass $class) : Dependency
    {
        $annotateClass = new AnnotatedClass(new AnnotationReader);
        $newInstance = $annotateClass->getNewInstance($class);
        $postConstruct = $annotateClass->getPostConstruct($class);

        return new Dependency($newInstance, $postConstruct);
    }