code: @Override
  	public String[] getExportedPackagesRt(Grammar grammar) {
  		List<GeneratedMetamodel> typeSelect = org.eclipse.xtext.EcoreUtil2.typeSelect(
  				grammar.getMetamodelDeclarations(), GeneratedMetamodel.class);
  		Set<String> exportedPackages = new LinkedHashSet<String>();
  		if (modelPluginID == null) {
  			for (GeneratedMetamodel generatedMetamodel : typeSelect) {
  				final String modelPackage = Strings.skipLastToken(
  						getGeneratedEPackageName(grammar, generatedMetamodel.getEPackage()), ".");
  				exportedPackages.add(modelPackage);
  				exportedPackages.add(modelPackage + ".impl");
  				exportedPackages.add(modelPackage + ".util");
  			}
  		}
  		return exportedPackages.toArray(new String[exportedPackages.size()]);
  	}
docs: /*
  TODO: Ask the genmodel instead