Example #1
0
 @SuppressWarnings("unchecked")
 public V call(Object... args) {
   try {
     return (V) getMetaClass().invokeMethod(this, "doCall", args);
   } catch (InvokerInvocationException e) {
     ExceptionUtils.sneakyThrow(e.getCause());
     return null; // unreachable statement
   } catch (Exception e) {
     return (V) throwRuntimeException(e);
   }
 }