boolean (final Module module) { final Sdk projectJdk = ModuleRootManager.getInstance(module).getSdk(); if (projectJdk == null) return false; return JavaSdk.getInstance().isOfVersionOrHigher(projectJdk, JavaSdkVersion.JDK_1_6); }