@ApiStatus.Internal
  //need for proper persistance of the component, do not use in application code
  public void setMavenHomeTypeForPersistence(MavenHomeTypeForPersistence value) {
    switch (value) {
      case WRAPPER -> {
        setMavenHomeType(MavenWrapper.INSTANCE);
      }
      case BUNDLED3 -> {
        setMavenHomeType(BundledMaven3.INSTANCE);
      }
      case BUNDLED4 -> {
        setMavenHomeType(BundledMaven4.INSTANCE);
      }
      case CUSTOM -> {
        //do nothing, wait for setCustomMavenHome to be executed
      }
    }
  }
@ApiStatus.Internal
  //need for proper persistance of the component, do not use in application code
  public void setMavenHomeTypeForPersistence(MavenHomeTypeForPersistence value)