Package net.jqwik.api
Class Functions
java.lang.Object
net.jqwik.api.Functions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classWraps a function to be generated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Functions.FunctionWrapperCreate 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- iffunctionalTypeis not a functional type
-