private static Method getMethod(Class<?> theClass, String methodName, Class<?>... params) {
		try {
			Method method = theClass.getDeclaredMethod(methodName, params);
			method.setAccessible(true);
			return method;
		} catch (Exception exception) {
			Log.error(exception);
			return null;
		}
	}