public MethodCall with ( String name1 , Object arg1 , String name2 , Object arg2 , String name3 , Object arg3 , String name4 , Object arg4 ) { args . put ( name1 , arg1 ) ; if ( name2 != null ) { args . put ( name2 , arg2 ) ; if ( name3 != null ) { args . put ( name3 , arg3 ) ; if ( name4 != null ) { args . put ( name4 , arg4 ) ; } } } return this ; }
Add four arguments .