public void callFunction ( String className , String methodName , PluginArguments pluginArgs , Object ... args ) throws Exception { Class < ? > cls = getClass ( className ) ; ArrayList < Object > newArgs = new ArrayList <> ( ) ; newArgs . add ( pluginArgs ) ; com . groupon . odo . proxylib . models . Method m = preparePluginMethod ( newArgs , className , methodName , args ) ; m . getMethod ( ) . invoke ( cls , newArgs . toArray ( new Object [ 0 ] ) ) ; }
Calls the specified function with the specified arguments . This is used for v2 response overrides