Object function ( final Object arg0 , final Object arg1 , final Object arg2 , final String arg3 ) { Binding loc0 = new Binding ( ) ; loc0 . setVariable ( "srini_string" , arg0 ) ; loc0 . setVariable ( "srini_string" , arg1 ) ; loc0 . setVariable ( "srini_string" , arg2 ) ; GroovyShell loc1 = new GroovyShell ( loc0 ) ; return loc1 . evaluate ( arg3 ) ; }
evaluates the specified string expression and makes the first three parameters available inside the script bound to variables named ` x ' , ` y ' , and ` z ' respectively , returning the result . for example , this code executes without failure : assert 10 == eval.xyz 2 , 4 , 2 , ' x y + z ' concode_field_sep PlaceHolder placeHolder concode_field_sep Object xy concode_elem_sep Object me concode_elem_sep Object me concode_elem_sep Object x