Annotation 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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
The annotation used to declare a variant. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe variants to generate.
-
Element Details
-
value
-