use of org.jetbrains.idea.maven.dom.model.MavenDomProperties in project intellij-community by JetBrains.
the class IntroducePropertyDialog method isPropertyExist.
private static boolean isPropertyExist(String propertyName, MavenDomProjectModel project) {
MavenDomProperties props = project.getProperties();
XmlTag propsTag = props.getXmlTag();
if (propsTag != null) {
for (XmlTag each : propsTag.getSubTags()) {
if (propertyName.equals(each.getName()))
return true;
}
}
return false;
}
Aggregations