def METHOD_NAME(self, env, fromdocname, builder, target,
                     node, contnode):
    objects = self.data['objects']
    results = []
    for objtype in self.object_types:
        if (objtype, target) in self.data['objects']:
            results.append(('rst:' + self.role_for_objtype(objtype),
                            make_refnode(builder, fromdocname,
                                         objects[objtype, target],
                                         objtype + '-' + target,
                                         contnode, target + ' ' + objtype)))
    return results