@API(status=MAINTAINED,
since="1.3.0")
public class Functions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Functions.FunctionsFacade |
static class |
Functions.FunctionWrapper
Wraps a function to be generated.
|
Modifier and Type | Method and Description |
---|---|
static Functions.FunctionWrapper |
function(java.lang.Class<?> functionalType)
Create a wrapper for functional types
i.e. types marked FunctionalInterface or representing a
SAM (single abstract method) type.
|
public static Functions.FunctionWrapper function(java.lang.Class<?> functionalType)
functionalType
- The class object of the functional type to generateJqwikException
- if functionalType
is not a functional type