tries put the given attribute in place of an existing attribute of the same name , returning whether it was present . concode_field_sep ProgramClass targetClass concode_elem_sep CodeAttribute targetAttribute concode_elem_sep boolean replaceAttributes concode_elem_sep ProgramMember targetMember concode_field_sep int findAttribute concode_elem_sep void addAttribute concode_elem_sep Attribute[] addAttribute concode_elem_sep void deleteAttribute concode_elem_sep int deleteAttribute
boolean function ( int arg0 , Attribute [ ] arg1 , Attribute arg2 ) { int loc0 = findAttribute ( arg0 , arg1 , arg2 . getAttributeName ( targetClass ) ) ; if ( loc0 < 0 ) { return false ; } arg1 [ loc0 ] = arg2 ; return true ; }