public static Class<?> getInterfaceGenericType(Class<?> clazz) {
		Type genericType = clazz.getGenericInterfaces()[0];
		Class<?>[] classes = getActualClass(genericType);
		if (classes.length == 0) {
			return null;
		} else {
			return classes[0];
		}
	}