public SmartBinder foldVirtual ( String newName , Lookup lookup , String method ) { Binder newBinder = binder . foldVirtual ( lookup , method ) ; return new SmartBinder ( this , signature ( ) . prependArg ( newName , newBinder . type ( ) . parameterType ( 0 ) ) , newBinder ) ; }
Acquire a virtual folding function from the first argument s class using the given name and Lookup . Pass all arguments to that function and insert the resulting value as newName into the argument list .