public function reset()
    {
        $this->position           = 0;
        $this->mapIdToClassName   = [];
        $this->numericalIndex     = [];
        $this->argumentsById      = [];
        $this->constructorById    = [];
        $this->classNameById      = [];
        $this->dependenciesById   = [];
        $this->indexedByClassName = [];
    }