public static Object invokeMethodFromList(boolean respectIgnore, String view, Set<String> ignoreProperties, Object object, MethodAccess method, List<?> argsList) { try { if (argsList == null && method.parameterTypes().length == 0) { return method.invoke(object); } else { Object [] finalArgs = convertArguments(respectIgnore, view, ignoreProperties, object, argsList, method ); return method.invoke(object, finalArgs); } }catch (Exception ex) { return Exceptions.handle(Object.class, ex, "Unable to invoke method object", object, "method", method, "args", argsList); } }
public static Object invokeMethodFromList(boolean respectIgnore, String view, Set<String> ignoreProperties, Object object, MethodAccess method, List<?> argsList) { try { if (argsList == null && method.parameterTypes().length == 0) { return method.invoke(object); } else { Object [] finalArgs = convertArguments(respectIgnore, view, ignoreProperties, object, argsList, method ); return method.invoke(object, finalArgs); } }catch (Exception ex) { return Exceptions.handle(Object.class, ex, "Unable to invoke method object", object, "method", method, "args", argsList); } }
finalArgs = convertArguments(respectIgnore, view, ignoreProperties, object, argsList, methodAccess );
finalArgs = convertArguments(respectIgnore, view, ignoreProperties, object, argsList, methodAccess );