public static List<Class<?>> getAllInterfacesIncludingSuper(Class<?> c)
	{
		ArrayList<Class<?>> res = new ArrayList<Class<?>>();
		while (c != null)
		{
			res.addAll(getAllInterfaces(c));
			c = c.getSuperclass();
		}
		return res;
	}