<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def decorate_set_on_listener(prototype):
 """ Private decorator for use in the editor. Allows the Editor to create listener methods. Args: params (str):
 The list of parameters for the listener method (es. "(self, new_value)") """

    # noinspection PyDictCreation,PyProtectedMember
    def add_annotation(method):
        method._event_info = {}
        method._event_info['name'] = method.__name__
        method._event_info['prototype'] = prototype
        return method

    return add_annotation