# findModel

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

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

#### Since

1.8

#### See also

BuildController.findModel

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

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

#### Since

4.4

#### See also

BuildController.findModel