class FeatureXmlTransformer {

    public Feature expandReferences(Feature feature, TargetPlatform targetPlatform) throws MojoFailureException {

        for (PluginRef pluginRef : feature.getPlugins()) {
            ArtifactKey plugin = resolvePluginReference(targetPlatform, pluginRef);
            pluginRef.setVersion(plugin.getVersion());

            File location = targetPlatform.getArtifactLocation(plugin);
            setDownloadAndInstallSize(pluginRef, location);
        }

        for (FeatureRef featureRef : feature.getIncludedFeatures()) {
            ArtifactKey includedFeature = resolveFeatureReference(targetPlatform, featureRef);
            featureRef.setVersion(includedFeature.getVersion());
        }

        return feature;
    }

    public  FeatureXmlTransformer();
    public  FeatureXmlTransformer(Logger log, FileLockService fileLockService);

}