private static @NotNull Map<MethodSignature, HierarchicalMethodSignature> getSignaturesMap(@NotNull PsiClass psiClass) {
    return CachedValuesManager.getCachedValue(psiClass, SIGNATURES_FOR_CLASS_KEY, () ->
      Result.create(buildMethodHierarchy(psiClass, null, PsiSubstitutor.EMPTY, true, new HashSet<>(), false, psiClass.getResolveScope()),
                    PsiModificationTracker.MODIFICATION_COUNT)
    );
  }
private static @NotNull Map<MethodSignature, HierarchicalMethodSignature> getSignaturesMap(@NotNull PsiClass psiClass)