private static @NotNull Map<Pair<String, GlobalSearchScope>, Map<MethodSignature, HierarchicalMethodSignature>> getSignaturesByName(@NotNull PsiClass psiClass) {
    return CachedValuesManager.getCachedValue(psiClass, SIGNATURES_BY_NAME_KEY, () ->
      Result.create(ConcurrentFactoryMap.createMap(pair -> buildMethodHierarchy(psiClass, pair.first, PsiSubstitutor.EMPTY, true, new HashSet<>(), false, pair.second)),
                    PsiModificationTracker.MODIFICATION_COUNT)
    );
  }
private static @NotNull Map<Pair<String, GlobalSearchScope>, Map<MethodSignature, HierarchicalMethodSignature>> getSignaturesByName(@NotNull PsiClass psiClass)