autofixture.interfaces.RecursionGuard Maven / Gradle / Ivy
package autofixture.interfaces;
import javax.annotation.Nullable;
/**
* Created by grzes on 20.03.2017.
*/
public interface RecursionGuard {
void addDepthLevelTo(InstanceType instanceType);
@Nullable
T generateUsing(
GeneratorsPipeline generatorsPipeline,
InstanceType instanceType,
FixtureContract fixture);
void removeDepthLevelFor(InstanceType instanceType);
void setMaxDepth(int maxDepth);
}