Annotation Type GeneratorMethod


@Documented @Retention(RUNTIME) @Target({METHOD,CONSTRUCTOR}) @API(status=EXPERIMENTAL, since="0.1") public @interface GeneratorMethod
Annotation for class constructor or static method to be used to create new random instances of a class.

The annotated method must accept parameters of types that can be generated by other generators and must return (in the static method version) an instance of the class.

Since:
0.1
Version:
1.0, 2022-12
Author:
(w) Iker Hernaez