public boolean isModuleJre50Configured(final ModuleBasedConfiguration configuration) {
    Module module = configuration.getConfigurationModule().getModule();
    Sdk sdk = module != null && !module.isDisposed() ? ModuleRootManager.getInstance(module).getSdk()
                                                     : ProjectRootManager.getInstance(configuration.getProject()).getProjectSdk();
    return JavaSdkUtil.isJdkAtLeast(sdk, JavaSdkVersion.JDK_1_5);
  }
public boolean isModuleJre50Configured(final ModuleBasedConfiguration configuration)