void () { myConfiguration.removeAllExcludeEntryDescriptions(); for (ExcludeEntryDescription description : myExcludeEntryDescriptions) { myConfiguration.addExcludeEntryDescription(description.copy(myProject)); } }