Package net.jqwik.api.facades
Klasse ReflectionSupportFacade
java.lang.Object
net.jqwik.api.facades.ReflectionSupportFacade
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract <T> T
newInstanceInTestContext
(Class<T> clazz, Object context) Create instance of a class that can potentially be a non static inner class and its outer instance might becontext
abstract <T> T
newInstanceWithDefaultConstructor
(Class<T> clazz) Create instance of a class that can potentially be a non static inner class
-
Felddetails
-
implementation
-
-
Konstruktordetails
-
ReflectionSupportFacade
public ReflectionSupportFacade()
-
-
Methodendetails
-
newInstanceInTestContext
Create instance of a class that can potentially be a non static inner class and its outer instance might becontext
- Typparameter:
T
- The type of the instance to create- Parameter:
clazz
- The class to instantiatecontext
- The potential context instance- Gibt zurück:
- the newly created instance
-
newInstanceWithDefaultConstructor
Create instance of a class that can potentially be a non static inner class- Typparameter:
T
- The type of the instance to create- Parameter:
clazz
- The class to instantiate- Gibt zurück:
- the newly created instance
-