diff options
Diffstat (limited to 'src/main/java/au/id/zancanaro/javacheck/Generator.java')
-rw-r--r-- | src/main/java/au/id/zancanaro/javacheck/Generator.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/au/id/zancanaro/javacheck/Generator.java b/src/main/java/au/id/zancanaro/javacheck/Generator.java index 0679f10..ac731de 100644 --- a/src/main/java/au/id/zancanaro/javacheck/Generator.java +++ b/src/main/java/au/id/zancanaro/javacheck/Generator.java @@ -22,6 +22,7 @@ import java.util.function.Predicate; * @param <T> The type generated by this generator. */ @SuppressWarnings("unused") +@FunctionalInterface public interface Generator<T> { /** * Return a {@link ShrinkTree} containing a new random value of the required |