Package net.jqwik.api
Class Functions
java.lang.Object
net.jqwik.api.Functions
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Wraps a function to be generated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Functions.FunctionWrapper
Create a wrapper for functional types i.e. types marked FunctionalInterface or representing a SAM (single abstract method) type.
-
Method Details
-
function
Create a wrapper for functional types i.e. types marked FunctionalInterface or representing a SAM (single abstract method) type.- Parameters:
functionalType
- The class object of the functional type to generate- Returns:
- a new function wrapper instance
- Throws:
JqwikException
- iffunctionalType
is not a functional type
-