Searched refs:getter (Results 1 – 8 of 8) sorted by relevance
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiPropertyItemTest.kt | 55 assertNotNull(myVal.getter) in <lambda>() 56 assertNotNull(myVar.getter) in <lambda>() 58 assertEquals("getMyVal", myVal.getter?.name()) in <lambda>() 59 assertEquals("getMyVar", myVar.getter?.name()) in <lambda>() 61 assertSame(myVal, myVal.getter?.property) in <lambda>() 62 assertSame(myVar, myVar.getter?.property) in <lambda>() 100 assertTrue(internalSet.getter!!.isPublic) in <lambda>() 104 assertTrue(privateSet.getter!!.isPublic) in <lambda>() 108 assertTrue(privateCustomSet.getter!!.isPublic) in <lambda>() 164 assertContains(accessors.getter?.documentation.orEmpty(), "getter doc") in <lambda>()
|
D | PsiMethodItemTest.kt | 30 val getter = classItem.methods().single { it.name() == "getBar" } in <lambda>() constant 33 assertNotNull(getter.property) in <lambda>() 36 assertSame(getter.property, setter.property) in <lambda>() 37 assertSame(getter, getter.property?.getter) in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiPropertyItem.kt | 36 override val getter: PsiMethodItem, constant 103 getter: PsiMethodItem, in toString() 108 val psiMethod = getter.psiMethod in toString() 109 val documentation = when (val sourcePsi = getter.sourcePsi) { in toString() 122 getter = getter, in toString() 127 getter.property = property in toString()
|
D | PsiClassItem.kt | 586 for ((name, getter) in getters) { in <lambda>() constant 587 val type = getter.returnType() as? PsiTypeItem ?: continue in <lambda>() 593 getter = getter, in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | PropertyItem.kt | 24 val getter: MethodItem? in <lambda>() constant
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiLint.kt | 1319 … val pattern = goodBooleanGetterSetterPrefixes.match(name, GetterSetterPattern::getter) ?: continue in <lambda>() 1320 val target = name.substring(pattern.getter.length) in <lambda>() 2662 private data class GetterSetterPattern(val getter: String, val setter: String) in <lambda>() constant in com.android.tools.metalava.ApiLint.Companion.GetterSetterPattern
|
D | Issues.kt | 296 val issue = property.getter.call(Issues) as Issue
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | ApiLintTest.kt | 1404 fun `Check boolean getter and setter naming patterns`() { in Check boolean getter and setter naming patterns()
|