def get_return_type(self):
        """
        Return the return type if it's not empty.
        """
        if (
            self.sig
            and self.sig.return_annotation is not inspect.Signature.empty
        ):
            return self.sig.return_annotation

        return None

        Return the return type if it's not empty.
        
product/gradle-plugin/src/main/python/attr/_compat.py