Package org.jeasy.random
package org.jeasy.random
Core implementation of Easy Random.
- Author:
- Mahmoud Ben Hassine ([email protected])
-
ClassDescriptionComponent that encapsulates the logic of field/type exclusion in a given randomization context.Extension of
Random
that is able to generate random Java objects.Parameters of anEasyRandom
instance.Utility class to hold a range of values.Common predicates to identify fields.Exception thrown when Easy Random is unable to create an instance of a given type.Objenesis based factory to create "fancy" objects: immutable java beans, generic types, abstract and interface types.What is the justification for extending ObjenesisObjectFactory? RecordFactory, to support nesting depth, needs access to context implementation which renders the interface (RandomizerContext) introduced by ObjenesisObjectFactory method signature redundant.Common predicates to identify types.