public static Map<String, PsiMember> getContentElements(@NotNull PsiClass pageOrModuleClass) {
    return CachedValuesManager.getCachedValue(pageOrModuleClass, () -> Result.create(
      calculateContentElements(pageOrModuleClass), pageOrModuleClass
    ));
  }
public static Map<String, PsiMember> getContentElements(@NotNull PsiClass pageOrModuleClass)