def class2func(path):
 func = ('CLASS_' + path.replace('/', '_').replace('$', '_').replace(';', ''))
 return func

def class2func ( path ) : func = ( 'CLASS_' + path . replace ( '/' , '_' ) . replace ( '$' , '_' ) . replace ( ';' , '' ) ) return func
convert a path such as landroid/support/v4/app/activitycompat; into a method string class_landroid_support_v4_app_activitycompat so we can call d .