# findModel

inline fun <T : Any> BuildController. findModel(modelType: KClass<T>): T?
inline fun <T : Any> BuildController. findModel(modelType: KClass<T>): T?
inline fun <T : Any> BuildController. findModel(target: Model, modelType: KClass<T>): T?
inline fun <T : Any> BuildController. findModel(target: Model, modelType: KClass<T>): T?

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.tooling.BuildController.findModel.

#### Since

1.8

#### See also

org.gradle.tooling.BuildController.findModel

inline fun <T : Any, P : Any> BuildController. findModel(modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T?
inline fun <T : Any, P : Any> BuildController. findModel(modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T?
inline fun <T : Any, P : Any> BuildController. findModel(target: Model, modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T?
inline fun <T : Any, P : Any> BuildController. findModel(target: Model, modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T?

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.tooling.BuildController.findModel.

#### Since

4.4

#### See also

org.gradle.tooling.BuildController.findModel