Package net.thucydides.core.csv
Class InstanceBuilder
java.lang.Object
net.thucydides.core.csv.InstanceBuilder
Helper class for finding and invoking constructors.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> InstanceBuilder
inObject
(T newObject) static <T> T
invokeConstructorFor
(Class<T> clazz, Object[] constructorArgs) static <T> T
newInstanceOf
(Class<T> clazz, Object... constructorArgs) void
setPropertyValue
(String property, String value)
-
Method Details
-
newInstanceOf
public static <T> T newInstanceOf(Class<T> clazz, Object... constructorArgs) throws InstantiationException, IllegalAccessException, InvocationTargetException -
invokeConstructorFor
public static <T> T invokeConstructorFor(Class<T> clazz, Object[] constructorArgs) throws InvocationTargetException, IllegalAccessException, InstantiationException -
setPropertyValue
-
inObject
-