

def _split_info_into_infos(info):
    original = re.findall('Compiled from ".*?\\.(?:java|groovy)"\\n.*?\\n(?:  .*\\n)*}\\n', info, flags=re.MULTILINE)
    infos = {
        
    }
    for info in original:
        lines = str(info).split('\n')[1:]
        header = lines[0]
        if (not header.startswith('public ')):
            continue
        match = re.match('(?:public |abstract |class |interface |final )+([^ ]+) .*', header)
        name = match.group(1)
        infos[name] = '\n'.join(lines)
    return infos

dataset/ETHPy150Open JakeWharton/jardiff/jardiff.py _split_info_into_infos/original