GlobalSearchScope (@NotNull JdkOrderEntry jdkOrderEntry) { final String jdkName = jdkOrderEntry.getJdkName(); if (jdkName == null) return GlobalSearchScope.allScope(myProject); GlobalSearchScope scope = mySdkScopes.get(jdkName); if (scope == null) { scope = new JdkScope(myProject, jdkOrderEntry); return ConcurrencyUtil.cacheOrGet(mySdkScopes, jdkName, scope); } return scope; }