void (@NotNull VersionedStorageChange event) { if (event.getChanges(JavaModuleSettingsEntity.class).stream().anyMatch(change -> change instanceof EntityChange.Replaced<?> && !Objects.equals(((EntityChange.Replaced<JavaModuleSettingsEntity>)change).getOldEntity().getLanguageLevelId(), ((EntityChange.Replaced<JavaModuleSettingsEntity>)change).getNewEntity().getLanguageLevelId()) )) { languageLevelsChanged(); } }