void (final Set<? super TypeMigrationUsageInfo> usageInfos, final MigrationNode currentNode) { usageInfos.add(currentNode.getInfo()); if (!currentNode.areChildrenInitialized()) return; final Collection<? extends AbstractTreeNode<?>> nodes = currentNode.getChildren(); for (AbstractTreeNode<?> node : nodes) { collectInfos(usageInfos, (MigrationNode)node); } }