Set<String> (final IRootContainer rootContainer) { final Set<String> bundleNames = new HashSet<>(); iterateStringDescriptors(rootContainer, new StringDescriptorVisitor<>() { @Override public boolean visit(final IComponent component, final StringDescriptor descriptor) { if (descriptor.getBundleName() != null) { bundleNames.add(descriptor.getBundleName()); } return true; } }); return bundleNames; }