Object invoke()

in src/main/java/com/microsoft/azure/functions/worker/broker/JavaMethodInvokeInfo.java [19:26]


    Object invoke(InstanceSupplier instanceSupplier) throws Exception {
        Object instance = Modifier.isStatic(this.m.getModifiers()) ? null : instanceSupplier.get();
        try {
            return this.m.invoke(instance, this.args);
        } catch (Exception ex) {
            return ExceptionUtils.rethrow(ex);
        }
    }