Searched refs:getter (Results 1 – 11 of 11) sorted by relevance
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiPropertyItem.kt | 38 override val getter: PsiMethodItem, in <lambda>() constant 95 getter: PsiMethodItem, in <lambda>() 100 val psiMethod = getter.psiMethod in <lambda>() 102 when (val sourcePsi = getter.sourcePsi) { in <lambda>() 112 val ktProperty = (getter.sourcePsi as? KtPropertyAccessor)?.property in <lambda>() 139 getter = getter, in <lambda>() 144 getter.property = property in <lambda>()
|
D | PsiClassItem.kt | 499 for ((name, getter) in getters) { in <lambda>() constant 500 val type = getter.returnType() as? PsiTypeItem ?: continue in <lambda>() 507 getter = getter, in <lambda>()
|
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiPropertyItemTest.kt | 58 assertNotNull(myVal.getter) in properties have getters() 59 assertNotNull(myVar.getter) in properties have getters() 61 assertEquals("getMyVal", myVal.getter?.name()) in properties have getters() 62 assertEquals("getMyVar", myVar.getter?.name()) in properties have getters() 64 assertSame(myVal, myVal.getter?.property) in properties have getters() 65 assertSame(myVar, myVar.getter?.property) in properties have getters() 104 assertTrue(internalSet.getter!!.isPublic) in setter visibility() 108 assertTrue(privateSet.getter!!.isPublic) in setter visibility() 112 assertTrue(privateCustomSet.getter!!.isPublic) in setter visibility() 325 assertContains(accessors.getter?.documentation.orEmpty(), "getter doc") in properties have documentation()
|
D | PsiMethodItemTest.kt | 35 val getter = classItem.methods().single { it.name() == "getBar" } in property accessors have properties() constant 38 assertNotNull(getter.property) in property accessors have properties() 41 assertSame(getter.property, setter.property) in property accessors have properties() 42 assertSame(getter, getter.property?.getter) in property accessors have properties()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/propertyitem/ |
D | CommonPropertyItemTest.kt | 72 fun `Test deprecated getter and setter by annotation`() { in Test deprecated getter and setter by annotation() 92 val getter = methods.single { it.name() == "getFoo" } in Test deprecated getter and setter by annotation() constant 95 assertEquals("getter originallyDeprecated", true, getter.originallyDeprecated) in Test deprecated getter and setter by annotation() 222 val getter = fooClass.methods().single() in Test abstract property of non-null string() constant 223 assertThat(getter.kotlinLikeDescription()) in Test abstract property of non-null string() 247 val getter = fooClass.methods().single() in Test abstract property of nullable string() constant 248 assertThat(getter.kotlinLikeDescription()) in Test abstract property of nullable string() 273 val getter = fooClass.methods().single() in Test abstract property of list of non-null string() constant 274 assertThat(getter.kotlinLikeDescription()) in Test abstract property of list of non-null string() 299 val getter = fooClass.methods().single() in Test abstract property of list of nullable string() constant [all …]
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | PropertyItem.kt | 21 val getter: MethodItem? in <lambda>() constant
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/classitem/ |
D | CommonDataClassTest.kt | 135 fun `Test data class getter method`() { in Test data class getter method()
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | FileFormat.kt | 175 private inline fun <T> effectiveValue(getter: FileFormat.() -> T?, default: T): T { in <lambda>() 176 return this.getter() ?: formatDefaults?.getter() ?: default in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmx500.py | 334 getter = getattr(cell, attr) 335 logger.info('The {} is {}'.format(attr, getter()))
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/ |
D | CommonTypeModifiersTest.kt | 2065 nullableStringProp.getter!! in <lambda>() 2077 val getterType = nonNullListProp.getter!!.returnType() in <lambda>()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/lint/ |
D | ApiLintTest.kt | 1064 fun `Check boolean getter and setter naming patterns`() { in Check boolean getter and setter naming patterns()
|