public static void addPropertiesToSpec(ModuleSpec.Builder moduleSpecBuilder, Map<String, String> properties) {
        for (Entry<String, String> entry : properties.entrySet()) {
            moduleSpecBuilder.addProperty(entry.getKey(), entry.getValue());
        }
    }
public static void addPropertiesToSpec ( ModuleSpec . Builder moduleSpecBuilder , Map < String , String > properties ) { for ( Entry < String , String > entry : properties . entrySet ( ) ) { moduleSpecBuilder . addProperty ( entry . getKey ( ) , entry . getValue ( ) ) ; } }
Add properties to the {@link ModuleSpec}

@param moduleSpecBuilder builder to populate
@param properties properties to add