@Override
  public void ignoreInvalidElement() {
    ModifiableArtifactModel model = ArtifactManager.getInstance(myProject).createModifiableModel();
    model.removeArtifact(myArtifact);
    WriteAction.run(() -> model.commit());
  }
@Override
  public void ignoreInvalidElement()