public static @NotNull Map<String, PsiMember> getWritableProperties(@Nullable PsiClass psiClass) {
    if (psiClass != null) {
      return CachedValuesManager.getCachedValue(psiClass, () ->
        CachedValueProvider.Result.create(prepareWritableProperties(psiClass), PsiModificationTracker.MODIFICATION_COUNT));
    }
    return Collections.emptyMap();
  }
public static @NotNull Map<String, PsiMember> getWritableProperties(@Nullable PsiClass psiClass)