container.add(new InlineHyperlink(notLast.getTitle(), notLast.getFragment()));
container.add(new InlineLabel(" > "));
}
// Append only the text for the last title.
Title lastTitle = Iterables.getLast(titles);
container.add(new InlineLabel(lastTitle.getTitle()));
if (lastTitle.getSubtitle() != null) {
Label subtitle = new InlineLabel(" - " + lastTitle.getSubtitle());
subtitle.addStyleName(style.methodSubtitle());
container.add(subtitle);
}
}