Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
20,200
boolean () { return false; }
identifier
20,201
List<String> (String parameterName) { String singularName = StringUtil.unpluralize(parameterName); if (singularName == null) singularName = parameterName; List<String> result = new ArrayList<>(); String[] parts = NameUtil.splitNameIntoWords(singularName); for (int i = 0; i < parts.length; i++) { result.add(StringUtil.d...
collectPossibleNameForCollectionParameter
20,202
boolean (MavenDomParameter parameter) { String type = parameter.getType().getStringValue(); if (type == null) return false; return type.endsWith("[]") || COLLECTIONS_TYPE_NAMES.contains(type); }
isCollection
20,203
MavenDomMojo () { return (MavenDomMojo)parameter.getParent().getParent(); }
getMojo
20,204
int () { if (!Boolean.parseBoolean(parameter.getRequired().getStringValue())) return 0; if (!StringUtil.isEmptyOrSpaces(defaultValue) || !StringUtil.isEmptyOrSpaces(expression)) { return 1; } return 2; }
getRequiringLevel
20,205
XmlElementDescriptor (XmlTag tag) { DomElement domElement = DomManagerImpl.getDomManager(tag.getProject()).getDomElement(tag); if (domElement == null) { PsiElement configuration = PsiTreeUtil.findFirstParent(tag, element -> element instanceof XmlTag && "configuration".equals(((XmlTag)element).getName())); if (configura...
getDescriptor
20,206
DependencyConflictId (@NotNull MavenDomDependency dep) { String groupId = dep.getGroupId().getStringValue(); if (StringUtil.isEmpty(groupId)) return null; String artifactId = dep.getArtifactId().getStringValue(); if (StringUtil.isEmpty(artifactId)) return null; return new DependencyConflictId(groupId, artifactId, dep.g...
create
20,207
DependencyConflictId (@NotNull MavenArtifact dep) { return create(dep.getGroupId(), dep.getArtifactId(), dep.getType(), dep.getClassifier()); }
create
20,208
DependencyConflictId (String groupId, String artifactId, String type, String classifier) { if (StringUtil.isEmpty(groupId)) return null; if (StringUtil.isEmpty(artifactId)) return null; return new DependencyConflictId(groupId, artifactId, type, classifier); }
create
20,209
String () { return groupId; }
getGroupId
20,210
String () { return artifactId; }
getArtifactId
20,211
String () { return type; }
getType
20,212
String () { return classifier; }
getClassifier
20,213
boolean (Object o) { if (this == o) return true; if (!(o instanceof DependencyConflictId id)) return false; if (!artifactId.equals(id.artifactId)) return false; if (classifier != null ? !classifier.equals(id.classifier) : id.classifier != null) return false; if (!groupId.equals(id.groupId)) return false; if (!type.equa...
equals
20,214
int () { int result = groupId.hashCode(); result = 31 * result + artifactId.hashCode(); result = 31 * result + type.hashCode(); result = 31 * result + (classifier != null ? classifier.hashCode() : 0); return result; }
hashCode
20,215
void (ResourceRegistrar registrar) { Map.of( MAVEN_PROJECT_SCHEMA_URL, "/schemas/maven-4.0.0.xsd", "http://maven.apache.org/maven-v4_0_0.xsd", "/schemas/maven-4.0.0.xsd", MAVEN_PROFILES_SCHEMA_URL, "/schemas/profiles-1.0.0.xsd", MAVEN_SETTINGS_SCHEMA_URL, "/schemas/settings-1.0.0.xsd", MAVEN_SETTINGS_SCHEMA_URL_1_1, "/...
registerResources
20,216
void (ResourceRegistrar registrar, String schemaUrl, String schemaPath) { registrar.addStdResource(schemaUrl, schemaPath, getClass()); if (schemaUrl.startsWith("http://")) { String schemaUrlHttps = schemaUrl.replace("http://", "https://"); registrar.addStdResource(schemaUrlHttps, schemaPath, getClass()); } }
addStdResource
20,217
VirtualFile (@NotNull String url) { String location = ((ExternalResourceManagerEx)ExternalResourceManager.getInstance()).getStdResource(url, null); assert location != null : "cannot find a standard resource for " + url; VirtualFile result = VfsUtilCore.findRelativeFile(location, null); assert result != null : "cannot f...
getSchemaFile
20,218
int () { return INTEGER_ITEM; }
getType
20,219
boolean () { return BigInteger_ZERO.equals(value); }
isNull
20,220
int (Item item) { if (item == null) { return BigInteger_ZERO.equals(value) ? 0 : 1; // 1.0 == 1, 1.1 > 1 } return switch (item.getType()) { case INTEGER_ITEM -> value.compareTo(((IntegerItem)item).value); case STRING_ITEM -> 1; // 1.1 > 1-sp case LIST_ITEM -> 1; // 1.1 > 1-1 default -> throw new RuntimeException("inval...
compareTo
20,221
String () { return value.toString(); }
toString
20,222
int () { return STRING_ITEM; }
getType
20,223
boolean () { return (comparableQualifier(value).compareTo(RELEASE_VERSION_INDEX) == 0); }
isNull
20,224
String (String qualifier) { int i = _QUALIFIERS.indexOf(qualifier); return i == -1 ? _QUALIFIERS.size() + "-" + qualifier : String.valueOf(i); }
comparableQualifier
20,225
int (Item item) { if (item == null) { // 1-rc < 1, 1-ga > 1 return comparableQualifier(value).compareTo(RELEASE_VERSION_INDEX); } return switch (item.getType()) { case INTEGER_ITEM -> -1; // 1.any < 1.1 ? case STRING_ITEM -> comparableQualifier(value).compareTo(comparableQualifier(((StringItem)item).value)); case LIST_...
compareTo
20,226
String () { return value; }
toString
20,227
int () { return LIST_ITEM; }
getType
20,228
boolean () { return (size() == 0); }
isNull
20,229
int (Item item) { if (item == null) { if (size() == 0) { return 0; // 1-0 = 1- (normalize) = 1 } Item first = get(0); return first.compareTo(null); } return switch (item.getType()) { case INTEGER_ITEM -> -1; // 1-1 < 1.0.x case STRING_ITEM -> 1; // 1-1 > 1-sp case LIST_ITEM -> { Iterator<Item> left = iterator(); Iterat...
compareTo
20,230
String () { StringBuilder buffer = new StringBuilder("("); for (Iterator<Item> iter = iterator(); iter.hasNext(); ) { buffer.append(iter.next()); if (iter.hasNext()) { buffer.append(','); } } buffer.append(')'); return buffer.toString(); }
toString
20,231
void (String version) { this.value = version; items = new ListItem(); version = StringUtil.toLowerCase(version); ListItem list = items; Stack<Item> stack = new Stack<>(); stack.push(list); boolean isDigit = false; int startIndex = 0; for (int i = 0; i < version.length(); i++) { char c = version.charAt(i); if (c == '.')...
parseVersion
20,232
Item (boolean isDigit, String buf) { return isDigit ? new IntegerItem(buf) : new StringItem(buf, false); }
parseItem
20,233
int (MavenVersionComparable o) { return items.compareTo(o.items); }
compareTo
20,234
String () { return value; }
toString
20,235
boolean (Object o) { return (o instanceof MavenVersionComparable) && canonical.equals(((MavenVersionComparable)o).canonical); }
equals
20,236
int () { return canonical.hashCode(); }
hashCode
20,237
boolean (PsiFile file) { return isProjectFile(file) || isProfilesFile(file) || isSettingsFile(file); }
isMavenFile
20,238
boolean (PsiFile file) { if (!(file instanceof XmlFile)) return false; XmlTag rootTag = ((XmlFile)file).getRootTag(); if (rootTag == null || !"project".equals(rootTag.getName())) return false; String xmlns = rootTag.getAttributeValue("xmlns"); if (xmlns != null && xmlns.startsWith("http://maven.apache.org/POM/")) { ret...
isProjectFile
20,239
boolean (PsiFile file) { if (!(file instanceof XmlFile)) return false; return MavenConstants.PROFILES_XML.equals(file.getName()); }
isProfilesFile
20,240
boolean (PsiFile file) { if (!(file instanceof XmlFile)) return false; XmlTag rootTag = ((XmlFile)file).getRootTag(); if (rootTag == null || !"settings".equals(rootTag.getName())) return false; String xmlns = rootTag.getAttributeValue("xmlns"); if (xmlns != null) { return xmlns.contains("maven"); } boolean hasTag = fal...
isSettingsFile
20,241
boolean (PsiElement element) { return isMavenFile(element.getContainingFile()); }
isMavenFile
20,242
Module (@NotNull PsiFile psiFile) { VirtualFile file = psiFile.getVirtualFile(); if (file == null) return null; Project project = psiFile.getProject(); MavenProjectsManager manager = MavenProjectsManager.getInstance(project); if (!manager.isMavenizedProject()) return null; ProjectFileIndex index = ProjectRootManager.ge...
findContainingMavenizedModule
20,243
boolean (PsiElement target) { XmlTag tag = PsiTreeUtil.getParentOfType(target, XmlTag.class, false); if (tag == null) return false; return DomUtil.findDomElement(tag, MavenDomProperties.class) != null; }
isMavenProperty
20,244
String (VirtualFile parent, VirtualFile child) { String result = FileUtil.getRelativePath(parent.getPath(), child.getPath(), '/'); if (result == null) { MavenLog.LOG.warn("cannot calculate relative path for\nparent: " + parent + "\nchild: " + child); result = child.getPath(); } return FileUtil.toSystemIndependentName(r...
calcRelativePath
20,245
MavenDomParent (MavenDomProjectModel mavenModel, MavenProject parentProject) { MavenDomParent result = mavenModel.getMavenParent(); VirtualFile pomFile = DomUtil.getFile(mavenModel).getVirtualFile(); Project project = mavenModel.getManager().getProject(); MavenId parentId = parentProject.getMavenId(); result.getGroupId...
updateMavenParent
20,246
VirtualFile (@NotNull DomElement element) { PsiFile psiFile = DomUtil.getFile(element); return getVirtualFile(psiFile); }
getVirtualFile
20,247
VirtualFile (@NotNull PsiElement element) { PsiFile psiFile = element.getContainingFile(); return getVirtualFile(psiFile); }
getVirtualFile
20,248
VirtualFile (PsiFile psiFile) { if (psiFile == null) return null; psiFile = psiFile.getOriginalFile(); VirtualFile virtualFile = psiFile.getVirtualFile(); if (virtualFile instanceof LightVirtualFile) { virtualFile = ObjectUtils.chooseNotNull(psiFile.getUserData(MavenGroovyPomCompletionContributor.ORIGINAL_POM_FILE), vi...
getVirtualFile
20,249
MavenProject (@NotNull MavenDomProjectModel projectDom) { XmlElement element = projectDom.getXmlElement(); if (element == null) return null; VirtualFile file = getVirtualFile(element); if (file == null) return null; MavenProjectsManager manager = MavenProjectsManager.getInstance(element.getProject()); return manager.fi...
findProject
20,250
MavenProject (@NotNull DomElement element) { PsiElement psi = element.getXmlElement(); return psi == null ? null : findContainingProject(psi); }
findContainingProject
20,251
MavenProject (@NotNull PsiElement element) { VirtualFile file = getVirtualFile(element); if (file == null) return null; MavenProjectsManager manager = MavenProjectsManager.getInstance(element.getProject()); return manager.findContainingProject(file); }
findContainingProject
20,252
MavenDomProjectModel (@NotNull Project project, @NotNull VirtualFile file) { return getMavenDomModel(project, file, MavenDomProjectModel.class); }
getMavenDomProjectModel
20,253
MavenDomProfiles (@NotNull Project project, @NotNull VirtualFile file) { MavenDomProfilesModel model = getMavenDomModel(project, file, MavenDomProfilesModel.class); if (model != null) return model.getProfiles(); return getMavenDomModel(project, file, MavenDomProfiles.class); // try old-style model }
getMavenDomProfilesModel
20,254
XmlTag (@NotNull DomElement domElement, @NotNull String path) { List<String> elements = StringUtil.split(path, "."); if (elements.isEmpty()) return null; Pair<String, Integer> nameAndIndex = translateTagName(elements.get(0)); String name = nameAndIndex.first; Integer index = nameAndIndex.second; XmlTag result = domElem...
findTag
20,255
XmlTag (XmlTag parent, Integer index) { if (index == null) return parent; XmlTag[] children = parent.getSubTags(); if (index < 0 || index >= children.length) return null; return children[index]; }
getIndexedTag
20,256
PropertiesFile (@NotNull Project project, @NotNull VirtualFile file) { PsiFile psiFile = PsiManager.getInstance(project).findFile(file); if (!(psiFile instanceof PropertiesFile)) return null; return (PropertiesFile)psiFile; }
getPropertiesFile
20,257
IProperty (@NotNull Project project, @NotNull VirtualFile file, @NotNull String propName) { PropertiesFile propertiesFile = getPropertiesFile(project, file); return propertiesFile == null ? null : propertiesFile.findPropertyByKey(propName); }
findProperty
20,258
PsiElement (@NotNull Project project, @NotNull VirtualFile file, @NotNull String propName) { IProperty prop = findProperty(project, file, propName); return prop == null ? null : prop.getPsiElement().getFirstChild().getNextSibling().getNextSibling(); }
findPropertyValue
20,259
Set<VirtualFile> (@NotNull MavenProject mavenProject) { Pair<Long, Set<VirtualFile>> cachedValue = mavenProject.getCachedValue(FILTERED_RESOURCES_ROOTS_KEY); if (cachedValue == null || cachedValue.first != VirtualFileManager.getInstance().getModificationCount()) { Set<VirtualFile> set = null; for (MavenResource resourc...
getFilteredResourcesRoots
20,260
boolean (PsiElement element) { PsiFile psiFile = element.getContainingFile(); VirtualFile file = getVirtualFile(psiFile); if (file == null) return false; MavenProjectsManager manager = MavenProjectsManager.getInstance(psiFile.getProject()); MavenProject mavenProject = manager.findContainingProject(file); if (mavenProje...
isFilteredResourceFile
20,261
List<DomFileElement<MavenDomProjectModel>> (Project p) { return DomService.getInstance().getFileElements(MavenDomProjectModel.class, p, GlobalSearchScope.projectScope(p)); }
collectProjectModels
20,262
MavenId (PsiFile psiFile) { MavenDomProjectModel model = getMavenDomModel(psiFile, MavenDomProjectModel.class); if (model == null) { return new MavenId(null, null, null); } String groupId = model.getGroupId().getStringValue(); String artifactId = model.getArtifactId().getStringValue(); String version = model.getVersion...
describe
20,263
MavenDomDependency (MavenDomProjectModel model, @Nullable Editor editor, @NotNull final MavenId id) { return createDomDependency(model.getDependencies(), editor, id); }
createDomDependency
20,264
MavenDomDependency (MavenDomDependencies dependencies, @Nullable Editor editor, @NotNull final MavenCoordinate id) { MavenDomDependency dep = createDomDependency(dependencies, editor); dep.getGroupId().setStringValue(id.getGroupId()); dep.getArtifactId().setStringValue(id.getArtifactId()); dep.getVersion().setStringVal...
createDomDependency
20,265
MavenDomDependency (@NotNull MavenDomProjectModel model, @Nullable Editor editor) { return createDomDependency(model.getDependencies(), editor); }
createDomDependency
20,266
MavenDomDependency (@NotNull MavenDomDependencies dependencies, @Nullable Editor editor) { int index = getCollectionIndex(dependencies, editor); if (index >= 0) { DomCollectionChildDescription childDescription = dependencies.getGenericInfo().getCollectionChildDescription("dependency"); if (childDescription != null) { D...
createDomDependency
20,267
int (@NotNull final MavenDomDependencies dependencies, @Nullable final Editor editor) { if (editor != null) { int offset = editor.getCaretModel().getOffset(); List<MavenDomDependency> dependencyList = dependencies.getDependencies(); for (int i = 0; i < dependencyList.size(); i++) { MavenDomDependency dependency = depen...
getCollectionIndex
20,268
String (MavenDomProjectModel model) { MavenProject mavenProject = findProject(model); if (mavenProject != null) { return mavenProject.getDisplayName(); } else { String name = model.getName().getStringValue(); if (!StringUtil.isEmptyOrSpaces(name)) { return name; } else { return "pom.xml"; // ? } } }
getProjectName
20,269
String (@Nullable VirtualFile file, @NotNull Project project) { VirtualFile directory = file == null ? null : file.getParent(); MavenDistribution distribution; if (directory == null) { distribution = MavenDistributionsCache.getInstance(project).getSettingsDistribution(); } else { distribution = MavenDistributionsCache....
getMavenVersion
20,270
boolean (PsiFile file) { return file instanceof XmlFile && MavenDomUtil.isMavenFile(file); }
isAvailable
20,271
XmlElementDescriptor (XmlTag tag, XmlTag contextTag, XmlElementDescriptor parentDescriptor) { DomElement domElement = DomManagerImpl.getDomManager(tag.getProject()).getDomElement(contextTag); if (domElement != null) { MavenDomConfiguration configuration = DomUtil.getParentOfType(domElement, MavenDomConfiguration.class,...
getElementDescriptor
20,272
void () { super.initializeFileDescription(); registerReferenceInjector(new MavenPropertyPsiReferenceInjector()); }
initializeFileDescription
20,273
MavenProject (@NotNull DomElement domElement) { XmlElement xmlElement = domElement.getXmlElement(); if (xmlElement == null) return null; PsiFile psiFile = xmlElement.getContainingFile(); if (psiFile == null) return null; VirtualFile file = psiFile.getVirtualFile(); if (file == null) return null; return MavenProjectsMan...
findMavenProject
20,274
MavenDomPluginModel (DomElement element) { Project project = element.getManager().getProject(); MavenDomPlugin pluginElement = element.getParentOfType(MavenDomPlugin.class, false); if (pluginElement == null) return null; String groupId = pluginElement.getGroupId().getStringValue(); String artifactId = pluginElement.get...
getMavenPluginModel
20,275
MavenDomPluginModel (Project project, String groupId, String artifactId, String version) { VirtualFile pluginXmlFile = getPluginXmlFile(project, groupId, artifactId, version); if (pluginXmlFile == null) return null; return MavenDomUtil.getMavenDomModel(project, pluginXmlFile, MavenDomPluginModel.class); }
getMavenPluginModel
20,276
boolean (@NotNull MavenDomConfiguration configuration, @Nullable String groupId, @NotNull String artifactId) { MavenDomPlugin domPlugin = configuration.getParentOfType(MavenDomPlugin.class, true); if (domPlugin == null) return false; return isPlugin(domPlugin, groupId, artifactId); }
isPlugin
20,277
boolean (@NotNull MavenDomPlugin plugin, @Nullable String groupId, @NotNull String artifactId) { if (!artifactId.equals(plugin.getArtifactId().getStringValue())) return false; String pluginGroupId = plugin.getGroupId().getStringValue(); if (groupId == null) { return pluginGroupId == null || (pluginGroupId.equals("org.a...
isPlugin
20,278
VirtualFile (Project project, String groupId, String artifactId, String version) { Path file = MavenArtifactUtil.getArtifactNioPath(MavenProjectsManager.getInstance(project).getLocalRepository(), groupId, artifactId, version, "jar"); VirtualFile pluginFile = LocalFileSystem.getInstance().findFileByNioFile(file); if (pl...
getPluginXmlFile
20,279
List<String> (PsiElement element, PsiElement originalElement) { element = getMavenElement(element); if (element == null) return null; if (MavenDomUtil.isMavenProperty(element)) return Collections.emptyList(); // todo hard-coded maven version // todo add auto-opening the element's doc //String name = ((PsiNamedElement)e...
getUrlFor
20,280
String (PsiElement e, DescKind kind, boolean html) { e = getMavenElement(e); if (e == null) return null; if (e instanceof FakePsiElement) { return ((FakePsiElement)e).getPresentableText(); } boolean property = MavenDomUtil.isMavenProperty(e); String type = property ? MavenDomBundle.message("text.property") : MavenDomBu...
getMavenElementDescription
20,281
String (PsiElement e, boolean property) { if (property) return DescriptiveNameUtil.getDescriptiveName(e); //NON-NLS - suprress warning List<String> path = new ArrayList<>(); do { path.add(DescriptiveNameUtil.getDescriptiveName(e)); } while ((e = PsiTreeUtil.getParentOfType(e, XmlTag.class)) != null); Collections.revers...
buildPropertyName
20,282
PsiElement (PsiElement e) { if (e instanceof MavenPsiElementWrapper) e = ((MavenPsiElementWrapper)e).getWrappee(); if (!MavenDomUtil.isMavenFile(e)) return null; if (e instanceof PsiFile) return null; return e; }
getMavenElement
20,283
void (@NotNull MavenDomConfigurationParameter param, @NotNull DomExtensionsRegistrar r) { for (XmlAttribute each : param.getXmlTag().getAttributes()) { String name = each.getName(); if (CompletionUtil.DUMMY_IDENTIFIER_TRIMMED.equals(name)) continue; r.registerGenericAttributeValueChildExtension(new XmlName(name), Strin...
registerExtensions
20,284
String () { return MavenSchemaProvider.MAVEN_PROJECT_SCHEMA_URL; }
getSchemaUrl
20,285
String () { return MavenSchemaProvider.MAVEN_PROFILES_SCHEMA_URL; }
getSchemaUrl
20,286
String () { return MavenSchemaProvider.MAVEN_SETTINGS_SCHEMA_URL; }
getSchemaUrl
20,287
String () { return MavenSchemaProvider.MAVEN_SETTINGS_SCHEMA_URL_1_1; }
getSchemaUrl
20,288
String () { return MavenSchemaProvider.MAVEN_SETTINGS_SCHEMA_URL_1_2; }
getSchemaUrl
20,289
MavenDomElementDescriptorHolder (@NotNull Project project) { return project.getService(MavenDomElementDescriptorHolder.class); }
getInstance
20,290
XmlElementDescriptor (@NotNull XmlTag tag) { FileKind kind = getFileKind(tag.getContainingFile()); if (kind == null) return null; XmlNSDescriptorImpl desc; synchronized (this) { desc = tryGetOrCreateDescriptor(kind); if (desc == null) return null; } LOG.assertTrue(tag.isValid()); LOG.assertTrue(desc.isValid()); return ...
getDescriptor
20,291
XmlNSDescriptorImpl (final FileKind kind) { CachedValue<XmlNSDescriptorImpl> result = myDescriptorsMap.get(kind); if (result == null) { result = CachedValuesManager.getManager(myProject).createCachedValue( () -> CachedValueProvider.Result.create(doCreateDescriptor(kind), PsiModificationTracker.MODIFICATION_COUNT), fals...
tryGetOrCreateDescriptor
20,292
XmlNSDescriptorImpl (FileKind kind) { String schemaUrl = kind.getSchemaUrl(); String location = ExternalResourceManager.getInstance().getResourceLocation(schemaUrl); if (schemaUrl.equals(location)) return null; VirtualFile schema; try { schema = VfsUtil.findFileByURL(new URL(location)); } catch (MalformedURLException i...
doCreateDescriptor
20,293
FileKind (PsiFile file) { if (MavenDomUtil.isProjectFile(file)) return FileKind.PROJECT_FILE; if (MavenDomUtil.isProfilesFile(file)) return FileKind.PROFILES_FILE; if (MavenDomUtil.isSettingsFile(file)) return getSettingsFileKind(file); return null; }
getFileKind
20,294
FileKind (PsiFile file) { String nameSpace = MavenDomUtil.getXmlSettingsNameSpace(file); if (nameSpace == null) return FileKind.SETTINGS_FILE; if (nameSpace.contains("1.1.0")) return FileKind.SETTINGS_FILE_1_1; if (nameSpace.contains("1.2.0")) return FileKind.SETTINGS_FILE_1_2; return FileKind.SETTINGS_FILE; }
getSettingsFileKind
20,295
boolean (@NotNull XmlFile file, final Module module) { return MavenDomUtil.isMavenFile(file) && super.isMyFile(file, module); }
isMyFile
20,296
DomElementsAnnotator () { return new MavenDomAnnotator(); }
createAnnotator
20,297
boolean (@NotNull XmlFile file, @Nullable Module module) { XmlTag rootTag = file.getRootTag(); assert rootTag != null; // rootTag.getName() == "plugin" return rootTag.findFirstSubTag("mojos") != null && rootTag.findFirstSubTag("artifactId") != null; }
isMyFile
20,298
String (String text, MavenDomProjectModel projectDom) { XmlElement element = projectDom.getXmlElement(); if (element == null) return text; VirtualFile file = MavenDomUtil.getVirtualFile(element); if (file == null) return text; MavenProjectsManager mavenProjectsManager = MavenProjectsManager.getInstance(projectDom.getMa...
resolve
20,299
Properties (@Nullable MavenProject project, MavenDomProjectModel projectDom) { var result = new Properties(); result.putAll(collectPropertyMapFromDOM(project, projectDom)); return result; }
collectPropertiesFromDOM