void (List<SimpleTag> tagsCollector, String iconPath, boolean isRelativeIconPath, SimpleTag osFamily) { final SimpleTag condition = new SimpleTag("condition", Couple.of("property", "app.icon.path"), Couple.of("value", isRelativeIconPath ? "${basedir}/" + iconPath : iconPath)); condition.add(osFamily); tagsCollector.add(condition); }