Package net.jqwik.engine.support
Class GenericsSupport
java.lang.Object
net.jqwik.engine.support.GenericsSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GenericsClassContextcontextFor(Class<?> contextClass) Return a context object which can resolve generic types for a givencontextClass.static GenericsClassContextcontextFor(net.jqwik.api.providers.TypeUsage typeUsage)
-
Constructor Details
-
GenericsSupport
public GenericsSupport()
-
-
Method Details
-
contextFor
Return a context object which can resolve generic types for a givencontextClass.Must be synchronized because of caching.
- Parameters:
contextClass- The class to wrap in a context- Returns:
- a potentially cached context object
-
contextFor
-