buffer.append(ctx.getName()).append(" -> ");
DependencyInfo dependsInfo = ctx.getDependencyInfo();
Set depends = dependsInfo.getIDependOn(null);
for (Iterator j = depends.iterator(); j.hasNext();)
{
DependencyItem item = (DependencyItem)j.next();
buffer.append(item.getIDependOn()).append('{').append(item.getWhenRequired().getStateString());
buffer.append(':');
Object iDependOn = item.getIDependOn();
if (iDependOn == null)
{
// FIXME needs to print something better than item.toString()
buffer.append("** UNRESOLVED " + item + " **");
}
else
{
ControllerContext other = controller.getContext(item.getIDependOn(), null);
if (other == null)
buffer.append("** NOT FOUND **");
else
buffer.append(other.getState().getStateString());
}