question: add a `` named '' notification rule , to be evaluated only when the notification concerns the document with the given name concode_field_sep Vector<XWikiNotificationRule> generalrules concode_elem_sep Map<String,Vector<XWikiNotificationRule>> namedrules concode_field_sep void preverify concode_elem_sep void preverify concode_elem_sep void addGeneralRule concode_elem_sep Vector<XWikiNotificationRule> getNamedRules concode_elem_sep void verify concode_elem_sep void verify concode_elem_sep void removeGeneralRule concode_elem_sep void removeNamedRule concode_elem_sep void removeNamedRule
target: void function ( String arg0 , XWikiNotificationRule arg1 ) { synchronized ( namedrules ) { Vector < XWikiNotificationRule > loc0 = namedrules . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new Vector < XWikiNotificationRule > ( ) ; namedrules . put ( arg0 , loc0 ) ; } loc0 . add ( arg1 ) ; } }