private static boolean existsMethod(Class clazz, String methodName, Class returnClass) {
		for (Method method : clazz.getDeclaredMethods()) {
			if (method.getName().equals(methodName) && method.getGenericReturnType() == returnClass) {
				return true;
			}
		}
		return false;
	}