Convert from Record

Use quick intentions to convert a record to a class.

If we decide that maybe a record should be a full Java class, we can get IntelliJ IDEA to automatically convert a record into a Java class.

Press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux) on the record name, and IntelliJ IDEA offers a suggestion to convert the record to a class.


Related Resources

Generate constructors and accessor methods
Generate constructors and accessor methods
Quickly generate common code constructs such as Constructors, Getters and Setters.
Expand and Collapse Code
Expand and Collapse Code
Quickly view specific parts of a class by expanding or collapsing code blocks.
Move Statement
Move Statement
Move a statement up or down within the same scope.