public static Object callMethod ( Object object , String methodName , Object [ ] parameters ) throws NoSuchMethodException , IllegalArgumentException , IllegalAccessException , InvocationTargetException { MethodParameterPair pair = getMethodParameterPairIgnoreCase ( object . getClass ( ) , methodName , parameters ) ; return pair . getMethod ( ) . invoke ( object , pair . getParameters ( ) ) ; }
call of a method from given object