void (@NotNull Module module, @NotNull ModuleData data) { if (!data.isSetTargetCompatibility()) return; String targetLevel = data.getTargetCompatibility(); if (targetLevel != null) { CompilerConfiguration configuration = CompilerConfiguration.getInstance(module.getProject()); configuration.setBytecodeTargetLevel(module, targetLevel); } }