code: public static Method  findMethodByArguments(Class<?> targetClass, String methodName, Object[] arguments)
  	 throws NoSuchMethodException
  	 {
  
  			if(arguments == null || arguments.length == 0)
  			{
  				return targetClass.getDeclaredMethod(methodName,(Class<?>)null);
  			}
  			
  			Class<?>[] parameterTypes = toParameterTypes(arguments);
  			
  			return targetClass.getDeclaredMethod(methodName,parameterTypes);
  	}
docs: ----------------------------------------------