Annotation Interface GenerateBytecodeTestVariants


@Retention(SOURCE) @Target(TYPE) public @interface GenerateBytecodeTestVariants
This annotation should only be used for testing to generate multiple variants of the interpreter with slightly different configurations. Importantly, all of the variants' Builders share a common superclass, which allows tests to be written once and then executed with multiple configurations. In order for the variants and their Builders to be compatible, the configurations must agree on specific fields. In particular, the GenerateBytecode.languageClass() must match, and fields that generate new builder methods (e.g. GenerateBytecode.enableYield()) must agree. These properties are checked by the Bytecode DSL processor.
Since:
24.2