herlevsen
09/22/2021, 7:35 AMJoffrey
09/22/2021, 7:36 AMThe @JvmInline annotation makes it explicit that something special with this class is going on in JVM, and it enables us to support non-annotated value class in the future Valhalla JVM by compiling them using the capabilities of the Project Valhalla.
herlevsen
09/22/2021, 7:43 AMJoffrey
09/22/2021, 7:45 AMherlevsen
09/22/2021, 7:46 AMJoffrey
09/22/2021, 7:48 AMvalue class
at the moment, you have to use them because it's currently the only way `value class`es are supported on JVM (this is to ensure that new implementations without @JvmInline
will be backwards-compatible)herlevsen
09/22/2021, 7:55 AMStephan Schroeder
09/22/2021, 9:10 AMdata class
to create a typesafe wrapper.