// "Convert to record class" "true-preview"
package com.example;

class <caret>X {
  private final int field;

  X(int field) {
    this.field = field;
  }

  public static int getField() {
    return 1;
  }
}
