public static PsiElement getRefactorTarget(Editor editor, PsiFile file) {
    PsiElement target = getFindTarget(editor, file, true);
    return target == null || !MavenDomUtil.isMavenProperty(target) ? null : target;
  }
public static PsiElement getRefactorTarget(Editor editor, PsiFile file)