class AnyMapAdapter {

	public <I> void registerMapper(Class<? extends I> inputClass, Mapper<I, ?> mapper) {
		if (mappers.containsKey(inputClass)) {
			throw new IllegalStateException(
					"Mapper for class " + inputClass
							+ " was already registered: " + mappers.get(inputClass)
			);
		}

		mappers.put(inputClass, mapper);
	}

	  AnyMapAdapter();

}