Home
last modified time | relevance | path

Searched refs:annotationNames (Results 1 – 4 of 4) sorted by relevance

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeModifiersTest.kt88 assertThat(annotationNames()).containsExactly("test.pkg.A") in <lambda>()
90 assertThat(primitiveMethod.annotationNames()).isEmpty() in <lambda>()
96 assertThat(annotationNames()).containsExactly("test.pkg.A") in <lambda>()
98 val stringMethodAnnotations = stringMethod.annotationNames() in <lambda>()
110 assertThat(annotationNames()).containsExactly("test.pkg.A") in <lambda>()
112 assertThat(variableMethod.annotationNames()).isEmpty() in <lambda>()
164 assertThat(annotationNames()).containsExactly("test.pkg.A") in <lambda>()
166 assertThat(primitiveMethod.annotationNames()).containsExactly("test.pkg.A") in <lambda>()
172 assertThat(annotationNames()).containsExactly("test.pkg.A") in <lambda>()
176 stringMethod.annotationNames().filter { !isNullnessAnnotation(it.orEmpty()) } in <lambda>()
[all …]
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiAnnotationMixtureTest.kt86 assertThat(primitive.annotationNames()).containsExactly("test.pkg.A") in foo1()
87 assertThat(primitiveMethod.annotationNames()).isEmpty() in foo1()
93 assertThat(string.annotationNames()).containsExactly("test.pkg.A") in foo1()
94 val stringMethodAnnotations = stringMethod.annotationNames() in foo1()
108 assertThat(variable.annotationNames()).containsExactly("test.pkg.A") in foo1()
109 assertThat(variableMethod.annotationNames()).isEmpty() in foo1()
DPsiModifierItemTest.kt60 assertThat(method.annotationNames()) in Test type-use nullability annotation used from Java and Kotlin source()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/
DAssertions.kt143 fun TypeItem.annotationNames(): List<String?> { in TypeItem() method
148 fun Item.annotationNames(): List<String?> { in Item() method