LayerDescriptor layerDescriptor = (LayerDescriptor) visited;
currLayerDescriptor = getLayerDetailDescriptor( layerDescriptor );
applicationDescriptor.addLayer( currLayerDescriptor );
UsedLayersDescriptor usedLayesDescriptor = layerDescriptor.usedLayers();
Iterable<? extends LayerDescriptor> usedLayers = usedLayesDescriptor.layers();
for( LayerDescriptor usedLayer : usedLayers )
{
LayerDetailDescriptor usedLayerDetailDesc = getLayerDetailDescriptor( usedLayer );
currLayerDescriptor.addUsedLayer( usedLayerDetailDesc );
}