if( visited instanceof DependencyDescriptor )
{
DependencyDescriptor descriptor = (DependencyDescriptor) visited;
element = document.createElement( "dependency" );
addAttribute( "annotation", descriptor.injectionAnnotation().toString(), element );
addAttribute( "injection", descriptor.injectionType().toString(), element );
addAttribute( "optional", Boolean.toString( descriptor.optional() ), element );
}
else
{