return result;
}
private Map<String, SourceGroup[]> findSourceGroups(JavaExtension javaExt) {
NbJavaModel projectModel = javaExt.getCurrentModel();
NbJavaModule mainModule = projectModel.getMainModule();
Map<String, List<SourceGroup>> moduleSources = findSourceGroupsOfModule(mainModule);
Map<String, SourceGroup[]> result = CollectionUtils.newHashMap(moduleSources.size());
for (Map.Entry<String, List<SourceGroup>> entry: moduleSources.entrySet()) {