Set<String> () { final Set<String> allCons = new HashSet<>(); allCons.add(EclipseXml.GROOVY_SUPPORT); allCons.add(EclipseXml.GROOVY_DSL_CONTAINER); for (EclipseNatureImporter provider : EP_NAME.getExtensionList()) { allCons.addAll(provider.getProvidedCons()); } return allCons; }