public static Object invokeMethod(Object instance,String className,PackageType packageType,String methodName,Object... arguments) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, ClassNotFoundException {
  return invokeMethod(instance,packageType.getClass(className),methodName,arguments);
}

public static Object invokeMethod ( Object instance , String className , PackageType packageType , String methodName , Object ... arguments ) throws IllegalAccessException , IllegalArgumentException , InvocationTargetException , NoSuchMethodException , ClassNotFoundException { return invokeMethod ( instance , packageType . getClass ( className ) , methodName , arguments ) ; }
invokes a method of a desired class on an object with the given arguments
