InstanceCreator

Author

F43nd1r

Since

09.03.2017

Functions

Link copied to clipboard
fun <T> create(clazz: Class<out T?>): T?

fun <T> create(classes: Collection<Class<out T>>): List<T>

Create instances of the given classes

fun <T> create(clazz: Class<out T>, fallback: () -> T): T

Create an instance of clazz