if (moduleWatched == null) Logger.getLogger(BioHolder.class.toString()).error("Your module is null!");
    public GenericActuator getShelfActuatorAttachedTo(List sensorList,            BioModule moduleWatched, int shelfIndex) {        for (Iterator iter = sensorList.iterator(); iter.hasNext();) {            ShelfActuator currentActuator = (ShelfActuator) (iter.next());            if (currentActuator.getOutputModule()._is_equivalent(moduleWatched)) {                BiomassRS currentBiomassRS = BiomassRSHelper                        .narrow(currentActuator.getOutputModule());                Shelf[] shelfArray = currentBiomassRS.getShelves();                if (currentActuator.getOutput()._is_equivalent(                        shelfArray[shelfIndex]))                    return currentActuator;            }        }        return null;    }