def proto2methodprotofunc(proto):
 return proto.replace(' ', '').replace('(', '').replace('[', '').replace(')', '').replace('/', '_').replace(';', '')

def proto2methodprotofunc ( proto ) : return proto . replace ( ' ' , '' ) . replace ( '(' , '' ) . replace ( '[' , '' ) . replace ( ')' , '' ) . replace ( '/' , '_' ) . replace ( ';' , '' )
convert a prototype such as ljava/lang/string; into a string ljava_lang_string" so we can append that to the method_mymethod if its export python name contains the prototype .