@Override
  public @NotNull ModuleType<?> findByID(@Nullable String moduleTypeId) {
    if (moduleTypeId != null) {
      if (JAVA_MODULE_ID_OLD.equals(moduleTypeId)) {
        return StdModuleTypes.JAVA; // for compatibility with the previous ID that Java modules had
      }
    }
    return super.findByID(moduleTypeId);
  }
@Override
  public @NotNull ModuleType<?> findByID(@Nullable String moduleTypeId)