Searched refs:kClass (Results 1 – 2 of 2) sorted by relevance
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | ModelOptions.kt | 36 return settings[key]?.let { key.kClass.cast(it) } ?: key.default in get() 87 internal val kClass: KClass<T> constant in com.android.tools.metalava.model.ModelOptions.Key 90 override fun toString() = "Key($name, $default, $kClass)" in toString()
|
D | AnnotationItem.kt | 283 internal fun AnnotationItem.nonInlineGetAttributeValue(kClass: KClass<*>, name: String): Any? { in nonInlineGetAttributeValue() 293 return convertValue(codebase, kClass, value) in nonInlineGetAttributeValue() 315 kClass: KClass<*>, in nonInlineGetAttributeValues() 326 return values.map { caster(convertValue(codebase, kClass, it)) } in nonInlineGetAttributeValues() 336 private fun convertValue(codebase: Codebase, kClass: KClass<*>, value: Any): Any { in convertValue() 344 if (Number::class.java.isAssignableFrom(kClass.java)) { in convertValue() 346 return when (kClass) { in convertValue() 361 if (kClass == AnnotationItem::class) { in convertValue()
|