}
private static void checkObject(HasStorage object, AISValidationOutput output, Map<Object,HasStorage> keyMap) {
Object key = object.getStorageUniqueKey();
if(key != null) {
HasStorage curObject = keyMap.put(key, object);
if(curObject != null) {
output.reportFailure(
new AISValidationFailure(
new DuplicateStorageDescriptionKeysException(curObject, object, key)));
}