private MavenJavaVersionHolder adjustJavaVersions(MavenJavaVersionHolder holder) {
    return new MavenJavaVersionHolder(
      holder.sourceLevel == null ? null : adjustLevelAndNotify(myProject, holder.sourceLevel),
      holder.targetLevel == null ? null : adjustLevelAndNotify(myProject, holder.targetLevel),
      holder.testSourceLevel == null ? null : adjustLevelAndNotify(myProject, holder.testSourceLevel),
      holder.testTargetLevel == null ? null : adjustLevelAndNotify(myProject, holder.testTargetLevel)
    );
  }
private MavenJavaVersionHolder adjustJavaVersions(MavenJavaVersionHolder holder)