def get_distribution_names(self):
        """
        Return all the distribution names known to this locator.
        """
        result = set()
        for locator in self.locators:
            try:
                result |= locator.get_distribution_names()
            except NotImplementedError:
                pass
        return result

        Return all the distribution names known to this locator.
        
product/gradle-plugin/src/main/python/pip/_vendor/distlib/locators.py