def classmethod2func(class_, method_):
    '''Convert two strings such as "Lcom/mwr/example/sieve/AddEntryActivity;" and "onCreate"
       into a string "CLASS_Lcom_example_sieve_AddEntryActivity.METHOD_onCreate"
       so we can access d.CLASS_Lcom_example_sieve_AddEntryActivity.METHOD_onCreate.XREFfrom
    '''

    return "%s.%s" % (class2func(class_), method2func(method_))
dataset/ETHPy150Open AndroBugs/AndroBugs_Framework/tools/modified/androguard/gui/helpers.py/classmethod2func/original