On this page
[Java] Enum RecordTypeMode
- groovy.transform.RecordTypeMode
public enum RecordTypeMode
extends Enum
Intended mode to use for records when using the @RecordType
annotation (or record
keyword).
- Since:
- 4.0.0
- See Also:
- RecordType
Enum Constants Summary
Enum constant | Description |
---|---|
AUTO |
Produce native records when compiling for a suitable target bytecode (JDK16+). |
EMULATE |
Produce a record-like class. |
NATIVE |
Produce a Java-like "native" record (JEP 359/384/395). |
Inherited Methods Summary
Enum Constant Detail
public RecordTypeMode AUTO
Produce native records when compiling for a suitable target bytecode (JDK16+).
public RecordTypeMode EMULATE
Produce a record-like class.
public RecordTypeMode NATIVE
Produce a Java-like "native" record (JEP 359/384/395).
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/groovy/transform/RecordTypeMode.html