def METHOD_NAME(self, node):
    if not self.current_directives['embedsignature']:
        return node
    entry = node.entry
    if entry.visibility == 'public':
        # property synthesised from a cdef public attribute
        type_name = entry.type.declaration_code("", for_display=1)
        if not entry.type.is_pyobject:
            type_name = "'%s'" % type_name
        elif entry.type.is_extension_type:
            type_name = entry.type.module_name + '.' + type_name
        signature = '%s: %s' % (entry.name, type_name)
        new_doc = self._embed_signature(signature, entry.doc)
        entry.doc = EncodedString(new_doc)
    return node