withType

abstract fun <S : T?> withType(type: Class<S>): TaskCollection<S>(source)