public class ObjectMG
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
currentLevel
Indicates what the current level in the tree of nested object creation.
|
ImplementationMap |
ImpsMap |
int |
maxTreeDepth
Indicate the maximum depth of object nesting that is allowed.
|
java.util.Random |
rnd |
Constructor and Description |
---|
ObjectMG(int maxLevelOfObjectNesting,
ImplementationMap imap) |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
Generator<PARAM,STEP> |
useConstructor(FUN<Generator<PARAM,STEP>> recvalueMetaGenerator)
Produces a generator that generates a call to a public constructor.
|
Generator<PARAM,STEP> |
useCreatorMethod(FUN<Generator<PARAM,STEP>> recvalueMetaGenerator)
Produces a generator that generates a call to public creator method.
|
public java.util.Random rnd
public ImplementationMap ImpsMap
public int currentLevel
public int maxTreeDepth
public ObjectMG(int maxLevelOfObjectNesting, ImplementationMap imap)
public Generator<PARAM,STEP> useConstructor(FUN<Generator<PARAM,STEP>> recvalueMetaGenerator)
public Generator<PARAM,STEP> useCreatorMethod(FUN<Generator<PARAM,STEP>> recvalueMetaGenerator)
public static void main(java.lang.String[] args)