public class FunctionGenerator<T, R> extends ComponentizedGenerator<Function> {
public FunctionGenerator() {
super(Function.class);
}
@SuppressWarnings("unchecked")
<BUG>@Override public Function<T, R> generate(SourceOfRandomness random, GenerationStatus status) {
return (Function<T, R>) makeLambda(
Function.class,
componentGenerators().get(1),
status);</BUG>
}

public class FunctionGenerator<T, R> extends ComponentizedGenerator<Function> {
public FunctionGenerator() {
super(Function.class);
}
@SuppressWarnings("unchecked")
@Override public Function<T, R> generate(SourceOfRandomness random, GenerationStatus status) {
return makeLambda(Function.class, componentGenerators().get(1), status);
}
