}
private static Set<String> getExtensionNames(List<ModelLoadIssue> issues) {
Set<String> names = new LinkedHashSet<>();
for (ModelLoadIssue issue: issues) {
NbGradleExtensionRef extensionRef = issue.getExtensionRef();
String name = extensionRef != null
? extensionRef.getDisplayName()
: NbStrings.getCoreGradlePlugin();
names.add(name);
}
return names;