question: private void addMethod ( MappedClass clazz , String [ ] parts ) { String original = "" ; String newName = "" ; String desc = "" ; if ( parts . length == 3 ) { original = parts [ 1 ] ; newName = parts [ 1 ] ; desc = parts [ 2 ] ; } else if ( parts . length == 4 ) { original = parts [ 1 ] ; newName = parts [ 2 ] ; desc = parts [ 3 ] ; } else { return ; } if ( desc . contains ( "Lnone/" ) ) { desc = desc . replace ( "Lnone/" , "L" ) ; } MappedMember mm = new MappedMember ( clazz , findMethod ( clazz . getNode ( ) , original , desc ) , - 1 , desc , original ) ; mm . setNewName ( newName ) ; clazz . addMethod ( mm ) ; }
target:  Add a method to the given class.