def METHOD_NAME(system, name):
    meth = system.get_meth(addrxlat.__dict__['SYS_METH_{}'.format(name)])
    if meth.kind == addrxlat.NOMETH:
        return
    print('METH_{}: '.format(name), end='')
    if meth.kind == addrxlat.CUSTOM:
        print('CUSTOM')
    elif meth.kind == addrxlat.LINEAR:
        print_linear(meth)
    elif meth.kind == addrxlat.PGT:
        print_pgt(meth)
    elif meth.kind == addrxlat.LOOKUP:
        print_lookup(meth)
    elif meth.kind == addrxlat.MEMARR:
        print_memarr(meth)
    else:
        print('<meth kind {:d}>'.format(meth.kind))
    print()