gradle
8.5

# 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)
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.

#### See also

BuildController.findModel