protected function _generateSourceAssociations($junction, $source)
    {
        $junctionAlias = $junction->getAlias();
        if (!$source->hasAssociation($junctionAlias)) {
            $source->hasMany($junctionAlias, [
                'targetTable' => $junction,
                'foreignKey' => $this->getForeignKey(),
                'strategy' => $this->_strategy,
            ]);
        }
    }