def METHOD_NAME(self):
    ret = []
    # first generate the any forms of each method
    for method in self.methods:
        if not method.is_any():
            ret.extend(method.make_any(self.super_name == 'PyModule'))
    # now generate the various invoke methods
    for i in range(4):
        ret.extend(self.make_invoke_method(i))
    #TODO invokeN
    for value, name in self.strings.items():
        ret.append('static readonly PyString %s = PyString.intern("%s");' %
                   (name, value))
    return ret