void implementMap()
	{
		props.add(Defaults.MAP_PROPERTY_COL);
		returnTypes.add(Object[].class);
		// add a dummy mutator
		setters.add(null);
		getters.add(null);
		if (this.object != null)
		{
			// this should work:
			// Set<?> entrySet =((Map<?,?>)object).entrySet();
			// values.add(entrySet.toArray());
			// unfortunately, it does not, as it causes problems later when we
			// try to access the contents of the Set.
			// This is caused by bug 4071957:
			// http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4071957
			// therefore we have to map the inner class object onto an ordinary
			// class object:
			Set<?> entrySet = ((Map<?, ?>) object).entrySet();
			ArrayList<MapEntry> ordinarySet = new ArrayList<MapEntry>();
			for (Object o : entrySet)
			{
				Map.Entry<?, ?> entry = (Entry<?, ?>) o;
				MapEntry nuEntry = new MapEntry();
				nuEntry.setKey(entry.getKey());
				nuEntry.setValue(entry.getValue());
				ordinarySet.add(nuEntry);
			}
			values.add(ordinarySet.toArray());
		}
	}