public @NotNull PsiClass createRecord(@NotNull String name) throws IncorrectOperationException {
    return createRecordFromText("public record " + name + "() { }");
  }
public @NotNull PsiClass createRecord(@NotNull String name)