dslMode property Null safety

DSL_MODE dslMode
final

The dslMode changes the API of the generated classes and functions for this particular annotation. Multiple different modes are provided currently as each has different trade-offs with readability vs their autocomplete experience.

All of these modes change not only the globally generated $switchXXYY functions for this annotation, but also the extension functions and switcher classes in the same way to match the mode.

Implementation

final DSL_MODE dslMode;