List<LayoutFileSet> (TempFileFactory temp) { List<LayoutFileSet> unprefixed = super.build(temp); List<LayoutFileSet> prefixed = new ArrayList<>(); for (LayoutFileSet set : unprefixed) { LayoutFileSet copy = createCopy(set); copy.setPrefix(dirName + "/" + set.getPrefix(getProject())); prefixed.add(copy); } return prefixed; }