for (MetaSlot slot : metaObject.getHiddenSlots()) { if (slot.getName().equals(getSlot())) { return slot; } }
    protected MetaObject createMetaObject(Object targetObject, Schema schema) {        MetaObject metaObject = getNewMetaObject(targetObject, schema);                for (HiddenSlot slot : this.hiddenSlots) {            SchemaSlotDescription slotDescription = new SchemaSlotDescription(slot.getName());                        slotDescription.setConverter(slot.getConverter());                        MetaSlot metaSlot = MetaObjectFactory.createSlot(metaObject, slotDescription);            metaObject.addHiddenSlot(metaSlot);            slot.setKey(metaSlot.getKey());        }                if (getSlot() == null) {            return metaObject;        }        else {            for (MetaSlot slot : metaObject.getSlots()) {                if (slot.getName().equals(getSlot())) {                    return slot;                }            }                        throw new RuntimeException("specified slot '" + getSlot() + "' does not exist in object " + targetObject);        }    }