protected function setServiceProperties(Annotation $annotation): void
    {
        if (null === $annotation->getProperty()) {
            $parameters =
                $this->getMethodReflection(
                    $annotation->getClass(),
                    $annotation->getMethod() ?? '__construct'
                )
                     ->getParameters();

            // Set the dependencies
            $annotation->setDependencies(
                $this->getDependencies(...$parameters)
            );
        }

        $annotation->setMatches();
    }