def _normalized_name(self):
        """
        Performance optimization: where possible, resolve the
        normalized name from the file system path.
        """
        stem = os.path.basename(str(self._path))
        return (
            pass_none(Prepared.normalize)(self._name_from_stem(stem))
            or super()._normalized_name
        )

        Performance optimization: where possible, resolve the
        normalized name from the file system path.
        
product/gradle-plugin/src/main/python/setuptools/_vendor/importlib_metadata/__init__.py