if (parent == null) {
parent = new VirtualFileCheckedTreeNode(rootCandidate);
rootCandidateNodes.put(rootCandidate, parent);
root.add(parent);
}
<BUG>final String rootType = rootTypesCount.get(rootInfo.getSuggestedRoot()) > 1 ? rootInfo.getDetector().getPresentableRootTypeName() : null;
</BUG>
parent.add(new VirtualFileCheckedTreeNode(rootInfo, rootType));
}
return root;

if (parent == null) {
parent = new VirtualFileCheckedTreeNode(rootCandidate);
rootCandidateNodes.put(rootCandidate, parent);
root.add(parent);
}
final String rootType = rootTypesCount.get(rootInfo.getSuggestedRoot().getFile()) > 1 ? rootInfo.getRootTypeName() : null;
parent.add(new VirtualFileCheckedTreeNode(rootInfo, rootType));
}
return root;
