Package net.jqwik.api.facades
Class ReflectionSupportFacade
- java.lang.Object
-
- net.jqwik.api.facades.ReflectionSupportFacade
-
@API(status=INTERNAL) public abstract class ReflectionSupportFacade extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ReflectionSupportFacade
implementation
-
Constructor Summary
Constructors Constructor Description ReflectionSupportFacade()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <T> T
newInstanceInTestContext(java.lang.Class<T> clazz, java.lang.Object context)
Create instance of a class that can potentially be a non static inner class and its outer instance might becontext
-
-
-
Field Detail
-
implementation
public static final ReflectionSupportFacade implementation
-
-
Method Detail
-
newInstanceInTestContext
public abstract <T> T newInstanceInTestContext(java.lang.Class<T> clazz, java.lang.Object context)
Create instance of a class that can potentially be a non static inner class and its outer instance might becontext
- Type Parameters:
T
- The type of the instance to create- Parameters:
clazz
- The class to instantiatecontext
- The potential context instance- Returns:
- the newly created instance
-
-