@NotNull
  private static EvaluationMode getMode(@NotNull CodeFragmentKind kind) {
    return switch (kind) {
      case EXPRESSION -> EvaluationMode.EXPRESSION;
      case CODE_BLOCK -> EvaluationMode.CODE_FRAGMENT;
    };
  }
@NotNull
  private static EvaluationMode getMode(@NotNull CodeFragmentKind kind)