int function ( Method arg0 ) { int loc0 = targetClass . u2methodsCount ; Method [ ] loc1 = targetClass . loc1 ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { if ( loc1 [ loc2 ] . equals ( arg0 ) ) { return loc2 ; } } return loc0 ; }
finds the index of the given method in the target class . concode_field_sep ProgramClass targetClass concode_elem_sep boolean DEBUG concode_field_sep int findFieldIndex concode_elem_sep void removeInterface concode_elem_sep void addInterface concode_elem_sep void removeMethod concode_elem_sep void addField concode_elem_sep int findInterfaceIndex concode_elem_sep void removeField concode_elem_sep void addMethod