

def _get_method_info_snippet(self, parts):
    method_name = fqn_container = nb_params = type_params = None
    try:
        method_name = parts[2]
        fqn_container = parts[1]
        type_params = parts[3:]
        nb_params = len(type_params)
    except Exception:
        logger.exception('An exception has occurred')
    return (method_name, fqn_container, nb_params, type_params)

dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/codebase/linker/java_linkers.py JavaMethodLinker._get_method_info_snippet/original