Package io.github.krandom.annotation
Annotation Randomizer
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Retention(value = RetentionPolicy.RUNTIME)@Target(value = ElementType.FIELD) public @interface Randomizer
Annotation to mark a field to be populated with a random value using the given .
Mahmoud Ben Hassine ([email protected])
-
-
Method Summary
Modifier and Type Method Description abstract Class<out Randomizer<out Object>>
value()
The io.github.krandom.api.Randomizer to use to generate the random value for this field. abstract Array<RandomizerArgument>
args()
-
-
Method Detail
-
value
abstract Class<out Randomizer<out Object>> value()
The io.github.krandom.api.Randomizer to use to generate the random value for this field.
- Returns:
the randomizer's class
-
args
abstract Array<RandomizerArgument> args()
-
-
-
-