@NotNull
  private static Collection<? extends PsiVariable> getPossibleWithElements(@NotNull PsiClass psiClass) {
    if (psiClass.isRecord()) {
      return List.of(psiClass.getRecordComponents());
    }
    else {
      return PsiClassUtil.collectClassFieldsIntern(psiClass);
    }
  }
@NotNull
  private static Collection<? extends PsiVariable> getPossibleWithElements(@NotNull PsiClass psiClass)