@Override
      public boolean acceptsTarget(@NotNull PsiElement target) {
        return target instanceof PomTargetPsiElement &&
               ((PomTargetPsiElement)target).getTarget() instanceof XmlProperty;
      }
@Override
      public boolean acceptsTarget(@NotNull PsiElement target)