Home
last modified time | relevance | path

Searched refs:getter (Results 1 – 8 of 8) sorted by relevance

/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiPropertyItemTest.kt55 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>()
DPsiMethodItemTest.kt30 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/
DPsiPropertyItem.kt36 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()
DPsiClassItem.kt586 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/
DPropertyItem.kt24 val getter: MethodItem? in <lambda>() constant
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt1319 … 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
DIssues.kt296 val issue = property.getter.call(Issues) as Issue
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiLintTest.kt1404 fun `Check boolean getter and setter naming patterns`() { in Check boolean getter and setter naming patterns()