

def _register_exposed_object(self, alias, obj):
    if (self in self._exposed_object_by_alias):
        logger.debug('Object alias {} has already been registered. Overwriting!'.format(alias))
    self._exposed_object_by_alias[alias] = obj
    if hasattr(obj, 'subsystems'):
        self.register_subsystems(obj.subsystems())

dataset/ETHPy150Open pantsbuild/pants/src/python/pants/build_graph/build_configuration.py BuildConfiguration._register_exposed_object/VarMisuse@16/21 `alias`->`self`