List<List<String>> rows = new ArrayList<List<String>>();
Set<String> directly = RegistryContainer.getInstance().getDependencies(application, reverse);
Set<String> indirectly = new HashSet<String>();
appendDependency(rows, reverse, application, 0, new HashSet<String>(), indirectly);
indirectly.remove(application);
return new Page("<a href=\"applications.html\">Applications</a> > " + application +
" > <a href=\"providers.html?application=" + application + "\">Providers</a> | <a href=\"consumers.html?application=" + application + "\">Consumers</a> | " +
(reverse ? "<a href=\"dependencies.html?application=" + application + "\">Depends On</a> | Used By"
: "Depends On | <a href=\"dependencies.html?application=" + application + "&reverse=true\">Used By</a>"), (reverse ? "Used By" : "Depends On") + " (" + directly.size() + "/" + indirectly.size() + ")", new String[] { "Application Name:"}, rows);
}