Fix getting fqn for JetObject

This commit is contained in:
Nikolay Krasko
2012-09-21 13:39:40 +04:00
parent e091d9cfe2
commit 726e6be076
@@ -253,7 +253,7 @@ public class ConfigureKotlinLibraryNotificationProvider implements EditorNotific
private boolean isWithJavaModule(Module module) {
// Can find a reference to kotlin class in module scope
GlobalSearchScope scope = module.getModuleWithDependenciesAndLibrariesScope(false);
return (JavaPsiFacade.getInstance(myProject).findClass(JvmStdlibNames.JET_OBJECT.getSignatureName(), scope) != null);
return (JavaPsiFacade.getInstance(myProject).findClass(JvmStdlibNames.JET_OBJECT.getFqName().getFqName(), scope) != null);
}
private static boolean isMavenModule(@NotNull Module module) {