}
public SWTBotTreeItem getSymbolicRefsItem(SWTBotTree tree,
File repositoryFile) throws Exception {
Repository repository = lookupRepository(repositoryFile);
RepositoryNode root = new RepositoryNode(null, repository);
AdditionalRefsNode symrefsnode = new AdditionalRefsNode(root, repository);
SWTBotTreeItem rootItem = tree.getTreeItem(
labelProvider.getStyledText(root).getString()).expand();
SWTBotTreeItem symrefsitem = rootItem.getNode(labelProvider
.getText(symrefsnode));