def METHOD_NAME(pyobject, parameters):
    kind = pyobject.get_kind()
    if not parameters:
        if not pyobject.get_param_names(special_args=False):
            return
        parameters.append(pyobjects.get_unknown())
    if kind == "method":
        parameters[0] = pyobjects.PyObject(pyobject.parent)
    if kind == "classmethod":
        parameters[0] = pyobject.parent